Baumer PosCon OXH7 User Manual

Page 1
Operating instructions.
PosCon OXH7 smart height measurement.
Page 2
Contents
1
1.1
1.1
1.1
2
2.1
2.1
2.2
2.3
2.4
2.5
3
3.1
3.2
3.3
3.4
4
4.1
4.2
4.3
General information ...................................................................................................................... 3
Concerning the contents of this document ..................................................................................... 3
Intended use ................................................................................................................................... 3
Safety instructions .......................................................................................................................... 4
Mounting and connections .......................................................................................................... 5
Dimensions ..................................................................................................................................... 5
Sensor reference levels .................................................................................................................. 6
Definition of the field of view ........................................................................................................... 7
Mounting ....................................................................................................................................... 11
Alignment ...................................................................................................................................... 14
Connection and commissioning .................................................................................................... 16
Configuration via the web interface .......................................................................................... 21
The web interface ......................................................................................................................... 21
Monitoring ..................................................................................................................................... 23
Parametrization ............................................................................................................................. 27
Device Configuration .................................................................................................................... 50
Communication via the process interfaces ............................................................................. 52
Introduction ................................................................................................................................... 52
Modbus TCP ................................................................................................................................. 53
OPC UA ........................................................................................................................................ 73
5
5.1
5.2
5.3
5.4
5.5
5.6
6
6.1
6.2
6.3
6.4
6.5
7 8
Operation ..................................................................................................................................... 86
Status displays on the sensor ....................................................................................................... 86
Measuring frequency, measuring repeat time, and response time ............................................... 87
Alarm output.................................................................................................................................. 87
Object to be measured ................................................................................................................. 88
Memory ......................................................................................................................................... 89
Error correction and tips ............................................................................................................... 90
Safety instructions and maintenance ....................................................................................... 91
General safety instructions ........................................................................................................... 91
Sensor inscriptions ....................................................................................................................... 92
Front optic ..................................................................................................................................... 93
Cleaning the sensors .................................................................................................................... 93
Disposal ........................................................................................................................................ 93
Sensor data sheet ....................................................................................................................... 94
Revision history .......................................................................................................................... 97
en_BA_OXH7_PosCon_TCP_IP.docx 2/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 3
1 General information
1.1 Concerning the contents of this document
This manual contains information about the installation and commissioning of Baumer PosCon OXH7 sensors with TCP/IP interface. It is a supplement to the mounting instructions supplied with each sensor.
1.1 Intended use
The Baumer PosCon OXH7 sensor measures heights of objects. It was especially developed for easy handling, flexible use, and precise measurement.
1.1.1 Functional principle of triangulation
Read these operating instructions carefully and follow the safety instructions!
The sensor works on the laser triangulation principle. By means of special optics, a laser beam is enlarged into a line and projected to the surface of the object to be measured. Using the multi-lens system, the reflected light from this laser line is projected onto a matrix. From this matrix image, a controller calculates the distance to every individual measuring point. The measuring value is calculated in accordance with the selected function. Thanks to the new Baumer technology, the object height is always output correctly, independent of the object's position in the measuring field.
en_BA_OXH7_PosCon_TCP_IP.docx 3/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 4
1.1 Safety instructions
NOTE
Provides helpful operation instructions or other general recommendations.
ATTENTION!
Indicates a potentially hazardous situation. Avoid these situations in order to prevent any personal injury or damage to the device.
en_BA_OXH7_PosCon_TCP_IP.docx 4/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 5
2 Mounting and connections
5
5
ATTENTION!
Connection, installation, and commissioning may only be performed by qualified personnel. Protect optical surfaces from moisture and dirt.
2.1 Dimensions
26
LED
9
4,3
7485645
*Optical axis
50
7 9
4,5 2
M12 x 1
19
14
M12 x 1
21
en_BA_OXH7_PosCon_TCP_IP.docx 5/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 6
19 mm
2.1 Sensor reference levels
To ensure that the sensor is easy to align during installation, reference levels have been defined. The laser beam of the sensor runs parallel (//) to level R3 and is at a right angle to levels R1 and R2. Levels R1, R2, and R3 serve as a reference for sensor alignment during installation. The "Left" and "Right" alignment must also be observed.
13 mm
Left
Right
Laser beam
Level R3
Level R2
Level R1
en_BA_OXH7_PosCon_TCP_IP.docx 6/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 7
2.2 Definition of the field of view
The maximum field of view and additional important field of view definitions are described in the following diagram. The important terms "left" and "right" are to be regarded respectively from the viewpoint of the connector side of the sensor.
Left
Right
Blind region
Start of measuring range Sdc
Field of view
Z
X
Width of field of view left
Reference point
HEIGHT function
0 mm
Field of view width
Width of field of view right
R2
End of measuring range Sde
The sensor measures the height of objects within the field of view. Sde or the optionally teached reference level (if Flex Mount is activated) is used as the reference surface.
en_BA_OXH7_PosCon_TCP_IP.docx 7/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 8
2.2.1 Blind region
The region from the sensor level R2 up to the start of measuring range Sdc is called the blind region, i.e., the sensor cannot detect any objects there. If there are any objects in this region, this can lead to incorrect measurement values.
R2
Object
Blind region
Start of measuring range Sdc
Field of view
range
Measuring
End of measuring range Sde
en_BA_OXH7_PosCon_TCP_IP.docx 8/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 9
2.2.2 Transmitter and receiver axis
The transmitter and receiver axes must not be covered by obstacles, since this could adversely affect precise measurements.
Transmitter axis
Laser beam
Receiver axis:
Prohibited area for obstacles
Measuring range Mr Start of measuring range Sdc
End of measuring range Sde
19 mm
L1
L2
13 mm
en_BA_OXH7_PosCon_TCP_IP.docx 9/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 10
2.2.3 Precise laser alignment with qTarget
The field of view is aligned with the housing reference surfaces at the factory. The beam position in every sensor is in exactly the same spot, which makes planning and sensor replacement very easy.
en_BA_OXH7_PosCon_TCP_IP.docx 10/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 11
2.3 Mounting
The sensor has four mounting holes for flexible alignment and mounting. The use of 2 M4x35 screws is recommended for mounting. The tightening torque is max. 1.2 Nm.
Tightening torque
max. = 1.2 Nm
en_BA_OXH7_PosCon_TCP_IP.docx 11/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 12
2.3.1 Installation accessories
To ensure optimal mounting, various mounting brackets are available as an accessory. These brackets fit the mounting holes of the sensor exactly. The sensor can be shifted and adjusted inside the mounting hole.
Mounting kit for standard installation Order no. 11120705
2.3.1.1
With the mounting bracket for standard installation, the sensor can be mounted quickly and easily at a 90° angle to the reference surface.
Mounting kit 11120705
Contents of this set:
- 90° mounting bracket
- Threaded plate
- 2x spherical head screw M4x35 Torx
- 1x Torx tool T20
en_BA_OXH7_PosCon_TCP_IP.docx 12/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 13
Mounting kit for ±30° angled installation with horizontal mounting Order no. 11126836
2.3.1.2
If it is not possible to position the sensor at right angles to the reference surface, the sensor can be mounted at an inclination angle of ±30° with this mounting kit.
Mounting kit 11126836
Contents of this set:
- 30° mounting bracket, horizontal
- Threaded plate
- 2x spherical head screw M4x35 Torx
- 1x Torx tool T20
Mounting kit for ±30° angled installation with horizontal mounting Order no. 11126837
2.3.1.3
If it is not possible to position the sensor at right angles to the reference surface, the sensor can be mounted at an inclination angle of ±30° with this mounting kit.
Mounting kit 11126837
Contents of this set:
- 30° mounting bracket, vertical
- Threaded plate
- 2x spherical head screw M4x35 Torx
- 1x Torx tool T20
en_BA_OXH7_PosCon_TCP_IP.docx 13/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 14
Reference surface
2.4 Alignment
To achieve as reliable and exact measurement values as possible, the following hints and tips for mounting should be followed.
2.4.1 The reference surface
If the height of the object is to be measured from a specific surface or if the sensor is to be mounted at an angle of up to ±30°, then the reference surface must be teached using the Flex Mount function.
The following points must be satisfied for teaching the reference surface:
The reference surface must be within the measuring range of the sensor (Sdc-Sde)
The sensor may be inclined at a maximum angle of ±30° to the reference surface
The "maximum unevenness of the reference surface"1 must not exceed the maximum value
The length of the reference surface must not be less than the "minimum reference surface length"1
value
Angle (here = 0°)
NOTE
The reference surface…
should be as even as possible
should cover the entire measuring range (width) if possible
can be teached in using the Flex Mount function
Object
Min. reference surface length
1
In accordance with chapter Sensor data sheet
en_BA_OXH7_PosCon_TCP_IP.docx 14/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 15
2.4.2 Angled installation (Flex Mount)
The sensor can be installed at an inclination of up to ±30° to the reference surface for the height function. This is particularly useful when space conditions do not allow any other installation option. See chapter Flex Mount. After activation of Flex Mount, the sensor axis is no longer relevant. The measurement coordinate system is now represented by the M and K axes. The height is now measured in the M direction.
0 … -30° +30 … 0°
M
K
Reference surface
Reference point with inclined installation
2.4.2.1
In the case of angled installation, the reference point (0 mm) of the K axis shifts out of the center of the field of view or the red visible laser line. Due to inclination of the sensor, the two field of view sections, "Width of field of view left" and "Width of field of view right", are no longer equal in size.
NOTE
This fact is relevant where the position of the reference point plays a role, e.g., with the Field of View function. Left Limit and Right Limit are measured from this point.
M
K
Long
Reference point
Short
en_BA_OXH7_PosCon_TCP_IP.docx 15/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 16
2.5 Connection and commissioning
ATTENTION!
Only carry out wiring work when the device is de-energized.
Incorrect supply voltage will destroy the device!
ATTENTION!
Connection, installation, and commissioning may only be performed by qualified personnel.
ATTENTION!
The IP protection class is valid only if all connections are connected as described in the technical documentation.
ATTENTION!
Laser class 1 laser beam according to EN 60825-1:2007. This product can be operated safely without any additional safety precautions. Nevertheless, direct contact between the eye and beam should be avoided.
en_BA_OXH7_PosCon_TCP_IP.docx 16/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 17
2.5.1 Pin assignments and connection diagrams
Color Function
Description
Color Function
Description
M12 8
-
pin M12 4
-
pin
M12 8-pin M12 4-pin
5
6
4
8
3
4
Pin 1 Pin 2 Pin 3 Pin 4 Pin 5 Pin 6 Pin 7 Pin 8
7
1
(2)
BN
Z Z
(3)
GN
(4)
power supply push­pull
WH = white n.c. Not used BN = brown +Vs Voltage supply (+15…+28 VDC) GN = green n.c. Not used YE = yellow out Switching output, push-pull GY = gray alarm Alarm output, push-pull PK = pink n.c. Not used BU = blue 0V Ground GND RD = red sync in Synchronization input
YE GY WH PK RD
BU
(5)
(6) (8)
(7)
(1)
Z Z
3
2
+Vs n.c.
out
alarm
n.c. n.c.
sync in 0V
Pin 1 Pin 2 Pin 3 Pin 4
2
1
BU (2) OG (4)
Ethernet
WH (1) YE (3)
WH = white Tx+ TX+ (BI_DA+) BU = blue Rx+ RX+ (BI_DB+) YE = yellow Tx- TX- (BI_DA-) OG = orange Rx- RX- (BI_DB-)
Rx+ Rx-
Tx+ Tx-
NOTE
We recommend that you connect unused cables to GND (0V).
en_BA_OXH7_PosCon_TCP_IP.docx 17/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 18
2.5.2 Connection cables as accessories M12 8-pin
2.5.2.1
An 8-pin, shielded connection cable (connector) is required to supply the digital inputs/outputs with power.
Baumer connection cables with the following order codes are recommended:
10127844 ESG 34FH0200G (M12 8-pin; length 2 m, straight plug)
11053961 ESW 33FH0200G (M12 8-pin; length 2 m, angled plug)
10129333 ESG 34FH1000G (M12 8-pin; length 10 m, straight plug)
10170054 ESW 33FH1000G (M12 8-pin; length 10 m, angled plug)
Other cable lengths are available.
M12 4-pin
2.5.2.2
A 4-pin, shielded cable is used to transmit the Ethernet signals.
Baumer connection cables with the following order codes are recommended:
11048502 KSG 34A/KSG45AP0200G/E (M12 4-pin to RJ45, length 2 m, straight plug)
10165276 KSG 34A/KSG45AP0500G/E (M12 4-pin to RJ45, length 5 m, straight plug)
11051929 KSG 34A/KSG45AP1000G/E (M12 4-pin to RJ45, length 10 m, straight plug)
Other cable lengths are available.
Color Function Pin 1 WH = white Tx+ Pin 2 BU = blue Rx+ Pin 3 YE = yellow Tx­Pin 4 OG = orange Rx-
Pin 1 white/orange TX+ (BI_DA+) Pin 2 orange TX- (BI_DA-) Pin 3 white/green RX+ (BI_DB+) Pin 4 blue n.c. Pin 5 white/blue n.c. Pin 6 green RX- (BI_DB-) Pin 7 white/brown n.c. Pin 8 brown n.c.
Color Function
3
2
4
1
en_BA_OXH7_PosCon_TCP_IP.docx 18/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
1
8
Page 19
2.5.3 Initial setup of the Ethernet interface on the computer
Assigning an IP address
2.5.3.1
To use the device in your network, you must assign a unique IP address to the device.
1. If you have a DHCP server integrated into your network, the IP address is requested from this server. No additional manual actions are necessary on your part.
2. If a valid IP address cannot be obtained within 15 seconds, the static IP address is used. When the device is delivered, this is IP address 192.168.0.250 (subnet mask: 255.255.255.0).
NOTE
To avoid network malfunctions, ensure that each IP address is unique within the network and has not already been assigned.
Now, link your PC into the same network as the device. If your network does not have a DHCP server, you may have to adapt the IP address of your PC. With Microsoft® Windows® 7, proceed as follows:
1. Open: Start menu
Control Panel Network and Internet (View network status and tasks)
Change adapter settings
2. Select your network (e.g., "Local Area Connection") and then the "Properties" entry in the context menu.
3. Select the "Internet Protocol Version 4 (TCP/IPv4)" entry in the list of elements and then click the Properties button below the selection list. The following dialog box opens:
Activate the Use the following IP address option and select an address in the range 192.168.0.1-
192.168.0.254 that has not yet been used for the IP address. Enter 255.255.255.0 for the subnet mask and confirm these settings.
en_BA_OXH7_PosCon_TCP_IP.docx 19/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 20
Identifying an unknown sensor IP address
2.5.3.2
If you do not know the IP address of the sensor, either because it was assigned via DHCP or the information about the static IP address is no longer available, you can query the IP address in the following way:
1. Open a Windows prompt
2. Execute the command ping OXH7-[identifier].local. Replace [identifier] either with the eight-digit order number or the MAC address indicated on the sensor. Example: ping OXH7-
12345678.local or ping OXH7-11-22-33-44-55-66.local
3. Read the IP address (here: 192.168.0.250) from the command output:
Ping is executed for OXH7-12345678.local [192.168.0.250] with 32 bytes of data:
If you do not gain access to the sensor when you specify this IP address, change the IP configuration of your PC as follows:
1. Enter an IP address that comes either directly before or after the sensor IP address.
2. Enter 255.255.255.0 as the subnet mask.
3. Confirm the setting.
en_BA_OXH7_PosCon_TCP_IP.docx 20/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 21
3 Configuration via the web interface
3.1 The web interface
The device includes an integrated web server which makes available a graphical user interface (GUI). This enables configuration and evaluation of the data (e.g., of machine control) directly via the browser.
3.1.1 Supported browsers
Due to differences in browser technology, there may be some differences in appearance between browsers and browser versions or even incompatibilities with the device. In our experience, these incompatibilities increase with the age of the browser due to a lack of standardization. We cannot test all browsers and their various releases, so untested browsers may also function with the device.
Supported browsers are Firefox 59 and Chrome 65.
3.1.2 Connecting to the web interface
1. Launch a supported browser
2. Enter the IP address of the sensor in the address line
NOTE
The default IP address is 192.168.0.250
en_BA_OXH7_PosCon_TCP_IP.docx 21/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 22
3.1.3 Web interface overview
1. Sensor IP address
2. Commercial name of detected sensor
3. Selection of active parameter setup that is stored in the sensor
4. Setting the configuration or monitoring options
5. Selection of measurement mode
6. Output of measurement value and signal quality over time
7. Overview of active parameters
8. Status of alarm and switching output. Alarm: Red = Active; switching output: Yellow = Active
en_BA_OXH7_PosCon_TCP_IP.docx 22/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 23
3.2 Monitoring
Output and evaluation of measurement values.
3.2.1 Measurement mode
The measurement mode is selected here to define which values are displayed in the "Result over Time" diagram. The mode that is currently selected is indicated by a blue line. The yellow icon indicates the active measurement value of the switching output.
en_BA_OXH7_PosCon_TCP_IP.docx 23/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 24
Avg HEIGHT
Reference
Reference
Reference
Reference
Average height of the object from the reference surface.
Min HEIGHT
Minimum height of the object from the reference surface.
Max HEIGHT
Maximum height of the object from the reference surface.
Delta HEIGHT
Maximum height of the object minus minimum height. No need to teach the reference surface.
Standard deviation
The standard deviation is a term from the field of statistics or stochastics and is given in σ (sigma). With the standard deviation it is possible to determine how great the dispersion of values around a mean value is. Broadly speaking, the standard deviation is the average distance of all measured expressions of a characteristic from the mean value. The standard deviation is only useful if you consider measurement values which should actually be identical but which vary. For the sensor, this means that an even surface is observed vertically (or with active Flex Mount). The standard deviation is then a measure for the unevenness of the surface. All measuring points within the preset field of view are taken into consideration.
en_BA_OXH7_PosCon_TCP_IP.docx 24/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 25
Remember
The standard deviation is a measure for the dispersion of the height values of all measured profile points in mm.
It can only be used on a plane that is either vertical with respect to the sensor or is parallel to the Flex Mount reference.
The plane must cover the entire field of view in the X direction.
Example
This is a profile of 190 points on an even surface as recorded by the sensor before evaluation (height in mm). It is a typical line. The red line represents the mean value, and the green lines each represent 1x standard deviation. The standard deviation indicates how level the measured line is.
6.6
6.55
6.5
6.45
6.4
6.35
6.3
6.25
6.2
6.15
6.1 1
7
13
19253137434955
Standard deviation: 0.03 mm Max.–min. = 0.157 mm
61677379859197
103
109
115
121
127
133
139
145
151
157
163
169
175
181
187
en_BA_OXH7_PosCon_TCP_IP.docx 25/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 26
3.2.2 Result over time
Measurement values
3.2.2.1
The diagram displays the measurement values (blue) within the adjustable "timeframe". The gray background and gray line display the switching output window and switching point respectively.
Signal quality/switching output
3.2.2.2
The colored bar underneath the diagram displays either the signal quality or the switching output. This can be set by the user via the button.
Signal quality Green: Valid signal Yellow: Weak signal Red: No signal (no valid measurement value)
Switching output Yellow: Switching output is active/high Gray: Switching point is inactive/low
Save/Pause
3.2.2.3
Activating "Pause" freezes the diagram. During "Pause", you can click the disk icon to save the displayed measurement values to the PC in .csv format.
en_BA_OXH7_PosCon_TCP_IP.docx 26/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 27
3.3 Parametrization
All application-specific settings are made here.
1- Result over time 2- Profile 3- Active parameter adjustment
4- Drag & drop lines
5- Selection Result over time & Profile or Result over time & Camera picture
3.3.1 Result over time & profile
Result over time
3.3.1.1
As in Monitoring mode, the diagram displays the measurement values (blue) within the adjustable "timeframe". The gray background and gray line display the switching output window and switching point respectively. The colored bar underneath the diagram displays the signal quality or the switching output.
Green: vaild signal Yellow: low signal Red: no signal (No valid measurement value)
en_BA_OXH7_PosCon_TCP_IP.docx 27/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 28
Here, the switching output can be adjusted using the yellow lines; these changes take effect immediately. With the tools on the right side the displayed diagram can be saved or analyzed.
Profile
3.3.1.2
The diagram displays the profile points of the object. The field of view is shown in gray. Here, the field of view can be restricted using the yellow lines; these changes take effect immediately.
Camera picture
3.3.1.3
Output of the unfiltered camera image. For example, unwanted reflections can be detected and the alignment can be optimized.
en_BA_OXH7_PosCon_TCP_IP.docx 28/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 29
3.3.2 Active parameters
Data Acquisition
3.3.2.1
3.3.2.1.1 .3.2.1.1isi t
To improve sensitivity to dark objects, the exposure time can be increased. This also changes the measuring repeat time. Light object: Short exposure time for light, shiny, and reflective surfaces such as metal or white objects, for example. Dark object: Longer exposure time and therefore slower measuring frequencies for plastics or black materials, for example.
3.3.2.1.2 Trigger mode
For setting the measuring intervals.
Free running
Measurement with the max. possible frequency, which may vary depending on the application. The sensor measures continuously.
Interval
Measurement cycle with fixed internal interval (time in ms). The constant measuring frequencies that can be achieved are slower than the non-constant frequencies in free-running mode. The interval must be set accordingly.
NOTE
Sometimes, shiny surfaces may require a longer exposure time.
NOTE
- If Sync-In (pin 8) is connected, free-running mode (or interval mode) runs when Sync-In is set to low
- If Sync-In is not connected, free-running mode (or interval mode) runs continuously
en_BA_OXH7_PosCon_TCP_IP.docx 29/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 30
Sync
-
In Level
Measurement
NOTE
Single shot
A single measurement is triggered with the falling edge of an external trigger signal at the Sync-In. This measurement value is held at the outputs until the next falling edge. The measuring frequencies that can be achieved are only half as high as in free-running mode.
Sync-In
The measurement and signal output can be interrupted with the Sync-In input by connecting with high. As long as Sync-In is on high, the sensor delays the next measurement (hold) and reduces the power of the laser beam.
The sensor checks Sync-In before every measurement
The previous measurement cycle is always completed first, even if Sync-In is on high
During the waiting time (Hold), the power of the laser beam is reduced
While Hold is at high, all outputs are frozen at their last state
To return the sensor to measurement mode, Sync-In must be set from high to low
Sync-In must remain on low for at least 5 µs in order for the sensor to begin measuring again
Sync-In low 0…2.5 V Run Sync-In high 8 V…UB (operating voltage) Hold
Application example: Reciprocal influence
Only the laser beam of Sensor 1 may be in the field of view of Sensor 1. The laser of Sensor 2 must not influence Sensor 1.
If it is not possible to prevent several sensors from affecting each other through appropriate installation, however, the sensors affecting each other can be operated asynchronously using the Sync-In cable. The superordinate control generates the signals for this.
As soon as the Sync-In is set to high (Hold), all output functions are frozen at their last state until the next measurement.
en_BA_OXH7_PosCon_TCP_IP.docx 30/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 31
Measurement in case of Sync-In low:
Every time before a laser pulse is transmitted, the sensor checks the level at Sync-In. If it is low, the sensor immediately begins the next measurement.
High
Low
High
Low
High
Low
en_BA_OXH7_PosCon_TCP_IP.docx 31/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 32
Sync-In low to high:
1 ms or 3 ms
(White/black object)
If the Sync-In level is on high, the sensor always finishes its initiated measurement and then holds off on doing the next measurement. All outputs are held (hold function).
High
Low
High
Low
High
Low
Hold function
en_BA_OXH7_PosCon_TCP_IP.docx 32/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 33
1 ms or 3 ms
(White/black object)
Sync-In high to low:
To return the sensor to measurement mode, Sync-In must be set from high to low. Sync-In must remain on low for at least 5 µs in order for the sensor to begin measuring again. If Sync-In switches from high to low level, the response time increases in the first measurement cycle by 5 µs.
5 µs
High
Low
High
Low
High
Low
Measurement cycle 2 Measurement cycle 1
en_BA_OXH7_PosCon_TCP_IP.docx 33/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 34
Field of view
3.3.2.2
Within the field of view function, the sensor can be installed at an angle or the field of view can be restricted.
3.3.2.2.1 Mounting assistant
The installation conditions can be checked using the mounting assistant. The angle of inclination as well as the distance to the reference surface are output.
Left
Right
Distance
Measured
(in mm) angle value (in °)
Reference surface
Reference axis
End of measuring range Sde
The mounting assistant is dependent on the set field of view.
Example:
Angle: 20.00° Distance: 134.3 mm
en_BA_OXH7_PosCon_TCP_IP.docx 34/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 35
3.3.2.2.2 Flex Mount
The reference surface is teached with Flex Mount. This enables the sensor to correctly calculate the height of objects, taking account of its mounting angle and the distance to the reference surface. This function is recommended to ensure the correct calculation of the object height in relation to the reference surface.
Flex Mount angled installation
NOTE
As soon as Flex Mount is
Angle +30 … 0°
activat, the field of view is reset to the maximum field of view).
Distance from the reference surface
M
K
Reference surface
Distance from the reference surface
With Flex Mount, the inclination angle and the distance from the reference surface are automatically detected and saved in the sensor memory so the coordinate system can be rotated correctly. With respect to teaching, it is important that the teached-in surface is even and covers as much of the entire measuring range of the sensor as possible.
Flex Mount is used if…
- a standard installation (right angle to the reference surface or the object) is not present
- the reference surface is closer to the sensor than the end of the measuring range Sde
- the reference surface is to be automatically teached and/or shifted in height
- the background is to be suppressed
Effects
- The coordinate system is rotated
- The reference surface is teached; the original sensor reference point is no longer valid
- Objects below the reference surface are ignored
- The axes are no longer referred to as X and Z, but as M and K
- The field of view is reset to the maximum field of view
en_BA_OXH7_PosCon_TCP_IP.docx 35/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 36
The sensor is aligned with the reference surface. The reference surface must be within the sensor's field of view (distance from sensor to reference surface less than distance from sensor to end of measuring range Sde).
en_BA_OXH7_PosCon_TCP_IP.docx 36/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 37
Conditions while teaching Flex Mount The following four conditions must be met during the reference surface teaching process. The teaching process cannot be started until all errors have been eliminated.
Error description Error correction
Distance between sensor and reference surface not correct. The reference surface must be within the
Correct distance between sensor and reference surface.
measuring range1.
The inclination angle of the sensor to the reference
Correct inclination of the sensor.
surface is too large. Maximum inclination angle ±30°.
The reference surface is too uneven. The unevenness must not exceed the "max. reference
Use an auxiliary plate during the teaching process.
surface unevenness"1.
The length of the reference surface is too small. It must conform to the "minimum reference surface length"1.
Remove objects from the field of view or use an auxiliary plate during the teaching process.
1
In accordance with chapter Sensor data sheet
en_BA_OXH7_PosCon_TCP_IP.docx 37/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 38
Reference
Reference surface
With "Reference", it is possible to shift the reference surface in both directions following the teaching process. This enables, for example, the thickness of the auxiliary plate required during teaching to be deducted again, or the reference surface to be suppressed.
Example using an auxiliary plate
To compensate for unevenness in the reference surface, a temporary auxiliary plate can be used for the teaching process. This plate should be as flat as possible and must conform to the "minimum length of reference surface"1. The plate must be positioned parallel to the reference surface below it. The thickness of this plate is not important as long as it is within the field of view of the sensor. The thickness of the auxiliary plate can be deducted again at the end of the process using "Reference".
Auxiliary plate
Teach-in reference surface
Reference = Thickness of the auxiliary plate
This is the redefined reference surface, everything below it is suppressed
en_BA_OXH7_PosCon_TCP_IP.docx 38/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 39
Example: Suppressing the reference surface
Shifting the reference surface upward enables the reference surface that was originally teached to be suppressed.
New position of the reference surface. Everything below is suppressed.
Reference = Shifting the teached-in reference surface (-x mm)
Example: When using the Delta Height functions (maximum height of the object minus minimum height), the teach-in reference surface compromises the measurement result. By setting a reference of -5 mm, the reference surface is placed over the reference surface that was originally teached, suppressing it and preventing it from having an effect on the measurement result.
NOTE
If the reference surface is not to be shifted, the reference must be 0 mm.
Teached-in reference surface
NOTE
As soon as Flex Mount is active, the field of view is reset to the maximum field of view).
Reset
"Reset" switches off the Flex Mount function. If Flex Mount is reset, "angle" = 0° and "distance" = end of measuring range Sde1 are set.
NOTE
As soon as Flex Mount is reset, the field of view is reset to the maximum field of view).
1
In accordance with chapter Sensor data sheet
en_BA_OXH7_PosCon_TCP_IP.docx 39/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 40
Right Limit
( mm)
Left Limit
Rig
ht Limit
( mm)
Left Limit
90° installation
Angled installation (Flex Mount)
Reference surface
Reference line
(Middle of field
Reference line
Reference
Reference
Field of view
Field of view
NOTE
3.3.2.2.3 Field of view limits
All measurement values outside the set field of view are ignored. This is particularly useful if, for example, the field of view contains an unwanted object that is not to be detected. The field of view is adapted by software so the width of the visible laser beam does not change.
For full flexibility, every value in the field of view can be individually adjusted. The modified field of view need not be symmetrical. Even a single limit, e.g., Left Limit, can be restricted.
Left Right
Left
Right
(Middle of field
limited
limited
(teached)
( mm)
( mm)
NOTE
If a reference surface is teached with Flex Mount, the reference point of that teached level represents 0. Left Limit and Right Limit are specified from there.
The minimum width of the field of view (Left Limit to Right Limit) must be at least 2 mm.
en_BA_OXH7_PosCon_TCP_IP.docx 40/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 41
Set FOV to Max
Resets all restrictions of the field of view back to the default settings (maximum field of view).
NOTE
If a new reference level is teached with Flex Mount, the preset left and right limits are deleted and the modified field of view is reset to the maximum field of view.
en_BA_OXH7_PosCon_TCP_IP.docx 41/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 42
NOTE
3.3.3 Outputs and filters
With Pin 4 (out), the user has a configurable switching output. Pin 4 becomes active as soon as the defined value (threshold or window) is exceeded or not reached (active high or active low depending on the setting). For a reliable switching signal, there is an adjustable hysteresis.
Window Point
Hysteresis
Hysteresis
Reference surface
Switch point P1
0 mm
Hysteresis
Window
Reference surface
Switch point P2
Switch point P1 0 mm
Switching output
3.3.3.1
Whether the switching output (Pin 4) is to be operated in point mode (switch point P1) or in window mode (switch point P1 and switch point P2) is defined here.
Switch point P1 must be larger than switch point P2.
The window must be larger than the "minimum switching window" specified in the data sheet1.
3.3.3.1.1 Polarity
The output level can be inverted with active high or active low here.
It is not recommended to set switch points equal to field of view limits. In combination with the hysteresis this results in a complex switching behavior.
1
In accordance with chapter Sensor data sheet
en_BA_OXH7_PosCon_TCP_IP.docx 42/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 43
Precision filter
3.3.3.2
Activating filtering can reduce noise and thus increase resolution and repeat accuracy. Standard = normal resolution12
High = resolution is approximately twice as high12, measuring rate is reduced Very high = resolution about three times as high12, measuring rate is reduced
3.3.3.2.1 Influences of the filter
The higher the precision is set, the more response times and release times increase, which means that the response time for moving objects slows down. The measuring frequency is not affected by the use of this filter. The precision filter works with moving median as well as moving average filters.
3.3.3.2.2 Moving median
The median of a finite list is the measurement with the middle measurement value of a string of numbers (e.g., median of {3, 3, 5, 9, 11} is 5). The number of measurement values saved in an array is called the number of measurement values, e.g., {3, 3, 5, 9, 11} corresponds to 5 measurement values. When a new measurement value is added, the oldest is removed (moving filter). A sudden change in measurement values will only lead to a change after half of the saved number of measurement values (e.g., number of measurement values = 5 means that the measurement value at the output is only affected after 3 measurement values).
This diagram shows the effects of the median (number of measurement values 5). The filter is used to suppress measurement errors. The output only changes after a defined number of measurement values (number of measurement values/2). The measuring frequency is not affected by this filter, but the response time is.
1
In accordance with chapter Sensor data sheet
2
Depending on the object to be measured
en_BA_OXH7_PosCon_TCP_IP.docx 43/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 44
3.3.3.2.3 Moving average
The output value of the moving average filter is the average of the defined number of measurement values which have been saved. When a new measurement value is added, the oldest is removed (moving filter).
As shown in the diagram, the moving average evens out the output value. In contrast to the median filter, it is possible that with the moving average, the displayed measurement values were never measured as such. The measuring frequency is not affected by this filter, but the response time is.
Number of measurement values required until the correct measurement value is displayed:
- When set to "High", the distance must be stable for 4 + 16 measurement values before the correct value is displayed
- When set to "Very high", the distance must be stable for 8 + 128 measurement values before the correct value is displayed
Example
Calculate the response time with a measuring frequency of 500 Hz 1 / 500 Hz = 0.002 s
Median = 7 / 2 (formula: measurement values / 2 ) = 4 Average = 16
Response time = 0.002 * (4 + 16) = 0.04 s = 40 ms
en_BA_OXH7_PosCon_TCP_IP.docx 44/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 45
Hysteresis
3.3.3.3
The hysteresis is the difference between the switch on threshold and the switch off threshold, and is specified as a value in mm. Without hysteresis H, objects in the border area of the switching point could lead to a toggling of the switching output. For reasons of reliability, the use of hysteresis is recommended (at least as great as the resolution of the sensor).
The hysteresis can be located before (negative hysteresis) or after (positive hysteresis) a switch point.
en_BA_OXH7_PosCon_TCP_IP.docx 45/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 46
Behavior of the switching output for point mode
Active low
Active low
Example: Hysteresis positive
Measuremen
t value
Level
Example: Hysteresis negative
Measuremen
t value
Level
Switch point P1
Switch point P1
Hysteresis
High
Low
Hysteresis
High
Low
Level
Level
en_BA_OXH7_PosCon_TCP_IP.docx 46/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 47
Behavior of the switching output for Window mode
Active high
Active high
Example: Hysteresis positive
Measuremen
t value
Window
Level
Example: Hysteresis negative
Measuremen
t value
Window
Level
Switch point P1
Switch point P2
Switch point P1
Switch point P2
High
Low
High
Low
Hysteresis
Hysteresis
Level
Hysteresis
Hysteresis
Level
en_BA_OXH7_PosCon_TCP_IP.docx 47/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 48
Alarm output (not adjustable)
3.3.3.4
The alarm output cannot be adjusted and is output as a push-pull signal (active high).
Situation Red LED Alarm output out2 No object inside the measuring range On High Signal gain reached Off Low Signal gain not reached Flashes (8 Hz) Low
NOTE
There is no excess gain hysteresis, which is why rapid switching between alarms can occur.
en_BA_OXH7_PosCon_TCP_IP.docx 48/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 49
3.3.3.4.1 Behavior of the alarm output
If there is no object inside the measuring range, the sensor will retain the last valid measurement value. The alarm output is high during this time.
Save parameters
3.3.3.5
The parameter changes can be stored in one of three parameter setups in the sensor so that the settings are also available once the sensor has been restarted. "Unsaved parameters" means that changes were made without saving them in one of the parameter setups.
en_BA_OXH7_PosCon_TCP_IP.docx 49/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 50
3.4 Device Configuration
The device-specific settings are made here.
3.4.1 Sensor Info
Displays important sensor information such as the serial type, serial number, and P-Code.
NOTE
Note: This information should be made available in the event of a service request.
en_BA_OXH7_PosCon_TCP_IP.docx 50/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 51
3.4.2 Network
Choice between static and dynamic address configuration using DHCP. If DHCP fails, the static address is used.
Static IP address
3.4.2.1
The device uses a set IP address. This requires the IP address, subnet mask, and the standard gateway to be specified.
DHCP (Dynamic Host Configuration Protocol)
3.4.2.2
If a DHCP server is integrated in the same network, the IP address is determined from there. If this does not happen within a specific time and a timeout occurs, the set IP address specified below is used.
3.4.3 Time Synchronization
Activation/deactivation of the NTP synchronization. If activated, the sensor synchronizes its internal clock with the defined network time server. The time stamps for the measurement values are set based on the synchronization. The time basis is UTC. Note: The daylight saving time functionality is not supported.
3.4.4 Process Interface
Activate or deactivate the Modbus TCP and OPC UA functionality by toggling the "on / off" button. When set to "off", the sensor no longer responds to requests via this protocol.
3.4.5 Parameter Setup Overview
Displays the stored values for the parameter setups. The parameter setups are presented in a general overview here.
3.4.6 Update Web Interface & Factory Reset
A new web interface can be uploaded and the factory settings reset here. Displays the web interface version and date. "Update Web Interface" updates the web interface if a new version has been released. Activating "Factory Reset" resets the device to the factory settings.
en_BA_OXH7_PosCon_TCP_IP.docx 51/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 52
4 Communication via the process interfaces
4.1 Introduction
In addition to the configuration option via the integrated web server, the sensor supports Modbus TCP and OPC UA – two standardized automation technology protocols for configuring and retrieving measurement values.
4.1.1 Dependencies
The sensor supports one client connection for each protocol. Read access via the protocols is possible at any time. Write access is only permitted once the sensor has been moved to Configuration mode via the respective interface. Only one interface can be in Configuration mode at one time. The measuring frequency that can be achieved may be reduced in such cases.
4.1.2 Description of the commands
See chapter "Configuration via the web interface".
en_BA_OXH7_PosCon_TCP_IP.docx 52/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 53
4.2 Modbus TCP
Modbus TCP is a protocol with a long history which is supported by a large number of programmable logic controllers as standard or which can easily be retrofitted using a software module. Libraries for various programming languages are available for PC-based systems. The standard is freely available on the website of the Modbus Organization (http://www.modbus.org).
4.2.1 Protocol parameters
The Modbus TCP server integrated in the sensor (Modbus TCP slave) can be addressed using the following parameters:
TCP port no.: 502
Modbus TCP unit identifier: 1
4.2.2 Mapping the sensor functionality to the Modbus data model
The sensor functionality can be accessed by reading or writing entries in the "Discrete inputs", "Input registers", and "Holding registers" tables. The following Modbus function codes (FC) are supported here:
Read Discrete Inputs (FC 02)
Read Input Registers (FC 04)
Read Holding Registers (FC 03)
Write Single Holding Register (FC 06)
Write Multiple Holding Registers (FC 16)
The three tables are independent of one another, meaning that the same address can represent a different functionality in the different tables. The number of the register to be read or written with a Modbus command must match the length specified for the respective sensor functionality. It is not possible to read or write just some of the parameters. If the data type of a sensor parameter is wider than a 16-bit Modbus register, the parameter is split across several Modbus registers. In such cases, the lower-value bits are placed on the lower address and the higher­value bits on the higher address.
en_BA_OXH7_PosCon_TCP_IP.docx 53/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 54
4.2.3 Modbus TCP commands: Holding register
1
1
2
1
4
4
4
1
1
1
4
4
1
1
8
1
1
4
2
11
8
1
1
1
1
1
0
1
Overview of index commands for holding register function 03/6/16
4.2.3.1
Address Length Command
0 1
2 10 11 15 19 27 32 50 51 55
100 101 200 220 250 251 255 300 400 410 500 501 502 503
Enter Config Mode Leave Config Mode Session Timeout DHCP Client State Set IP Address Set Subnet Mask Set Gateway Address Store Eth Parameters OPC UA State Time Sync Mode NTP Server 1 NTP Server 2 Exposure Time Precision Field of View Set Field of View to MAX Reset Flex Mount Flex Mount Teach Flex Mount Switching Output Configuration Trigger Mode Laser On/Off Store Setting Load Setting Reset Setting Sensor Reset
Address 0 – Enter Config Mode
4.2.3.1
Writing any value to this register sets the sensor to Configuration mode. The write command fails if the sensor has already been set to Configuration mode via another interface.
Function Address Length Access Address Parameter description 0
en_BA_OXH7_PosCon_TCP_IP.docx 54/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Enter Config Mode: uint16_t
Holding register (FUNCTION 03/06/16)
Write Only
Data type
Page 55
1
1
2
2
10
1
The command does not care which number is written.
Address 1 – Leave Config Mode
4.2.3.1
Writing any value to this register exits Configuration mode provided it has previously been requested via this interface.
Function Address Length
Holding register (FUNCTION 03/06/16)
Access
Address Parameter description 1
4.2.3.1
The Session Timeout is the timeframe after which the sensor automatically leaves the Configuration mode requested via Modbus TCP if no further command has been received in the meantime.
Function Address Length
Address Parameter description 2 3
Leave Config Mode: The command does not care which number is written.
Address 2 – Session Timeout
Session Timeout [sec] (first 2 bytes) Session Timeout [sec] (second 2 bytes)
Write Only
Holding register (FUNCTION 03/06/16)
Data type uint16_t
Data type uint32_t
Address 10 – DHCP Client State
4.2.3.1
Activates or deactivates the DHCP client. Function
Address Length
Address Parameter description 10
en_BA_OXH7_PosCon_TCP_IP.docx 55/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
DHCP State 0: Not Active / 1: Active
Holding register (FUNCTION 03/06/16)
Data type uint16_t
Page 56
11
4
15
4
19
Address 11 – Set IP Address
4.2.3.1
Shadow register for setting the sensor's IP address. Once this entry has been written, the subnet mask and the standard gateway address can still be set. The changes are only activated once the "Store Ethernet Parameter" command has been executed.
Function Address Length Access Write Only
Address Parameter description
Holding register (FUNCTION 03/06/16)
Data type 11 12 13 14
4.2.3.1
Shadow register for setting the sensor's subnet mask. Once this entry has been written, the IP address and the standard gateway address can still be set. The changes are only activated once the "Store Ethernet Parameter" command has been executed.
Function Address Length Access Write Only
Address Parameter description 15 16
IP Address Byte 0 IP Address Byte 1 IP Address Byte 2 IP Address Byte 3
Address 15 – Set Subnet Mask
Holding register (FUNCTION 03/06/16)
Subnet Mask Byte 0 Subnet Mask Byte 1
uint16_t
uint16_t
uint16_t
uint16_t
Data type
uint16_t
uint16_t 17 18
4.2.3.1
Shadow register for setting the sensor's standard gateway address. Once this entry has been written, the IP address and the subnet mask can still be set. The changes are only activated once the "Store Ethernet Parameter" command has been executed.
Function Address
en_BA_OXH7_PosCon_TCP_IP.docx 56/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Subnet Mask Byte 2 Subnet Mask Byte 3
Address 19 – Set Gateway Address
uint16_t
uint16_t
Holding register (FUNCTION 03/06/16)
Page 57
Length
4
50
1
Access Write Only
Address Parameter description
Data type 19 20 21 22
4.2.3.1
Writing any value to this register activates the preset IP configuration. Function Holding register (FUNCTION 03/06/16)
Address 27 Length 1 Access Write Only
Address Parameter description Data type 27 Store Ethernet parameters:
4.2.3.1
Function Holding register (FUNCTION 03/06/16)
Gateway Address Byte 0 Gateway Address Byte 1 Gateway Address Byte 2 Gateway Address Byte 3
Address 27 – Store Eth Parameters
The command does not care which number is written.
Address 32 – OPC UA State
uint16_t
uint16_t
uint16_t
uint16_t
uint16_t
Address 32 Length 1
Address Parameter description Data type 32 OPC UA State:
0 = Disable OPC UA 1 = Enable OPC UA
Address 50 – Time Sync Mode
4.2.3.1
Function Address Length
en_BA_OXH7_PosCon_TCP_IP.docx 57/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
uint16_t
Holding register (FUNCTION 03/06/16)
Page 58
51
4
55
4
1
Address Parameter description
Data type 50
4.2.3.1
Function Address Length
Address Parameter description 51 52 53 54
4.2.3.1
Function
Synchronization Mode 0 = Internal 1 = NTP
Address 51 – NTP Server 1
NTP Server IP Address Byte 0 NTP Server IP Address Byte 1 NTP Server IP Address Byte 2 NTP Server IP Address Byte 3
Address 55 – Get NTP Server 2
uint16_t
Holding register (FUNCTION 03/06/16)
Data type
uint16_t
uint16_t
uint16_t
uint16_t
Holding register (FUNCTION 03/06/16) Address Length
Address Parameter description 55 56 57 5
4.2.3.1
Function Address Length
en_BA_OXH7_PosCon_TCP_IP.docx 58/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
NTP Server IP Address Byte 0 NTP Server IP Address Byte 1 NTP Server IP Address Byte 2 NTP Server IP Address Byte 3
Address 100 – Exposure Time
Holding register (FUNCTION 03/06/16)
100
Data type uint16_t uint16_t uint16_t uint16_t
Page 59
1
8
1
Address Parameter description
Data type
100
4.2.3.1
Function Address Length
Address Parameter description 101
4.2.3.1
Function
Exposure Time Mode 0 = Short 1 = Long
Address 101 – Precision
Precision Mode 0 = Normal 1 = High 2 = Very High
Address 200 – Field of View
Holding register (FUNCTION 03/06/16)
101
Holding register (FUNCTION 03/06/16)
uint16_t
Data type uint16_t
Address Length
Address Parameter description 200-201 Left Limit [mm] 202-203 Right Limit [mm] 204-205 Offset [mm] 206-207 Height [mm]
Address 220 – Field of View to MAX
4.2.3.1
Writing any value to this register sets the field of view to its maximum possible size. Function
Address Length Access Write Only
200
Data type float32_t float32_t float32_t float32_t
Holding register (FUNCTION 03/06/16)
220
en_BA_OXH7_PosCon_TCP_IP.docx 59/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 60
1
4
2
Address Parameter description
Data type
220
4.2.3.1
Writing any value to this register resets the Flex Mount parameters to their defaults. Function
Address Length Access Write Only
Address Parameter description 0
4.2.3.1
Function Address
Set Field of View: The command does not care which number is written.
Address 250 – Flex Mount Reset
Holding register (FUNCTION 03/06/16)
250
Reset Flex Mount: The command does not care which number is written.
Address 251 – Flex Mount
Holding register (FUNCTION 03/06/16)
251
uint16_t
Data type uint16_t
Length
Address Parameter description 251-252 Angle [deg] 253-254 Distance [mm]
Address 255 – Teach Flex Mount
4.2.3.1
Writing to this register teaches the currently measured surface as a Flex Mount reference surface. Function
Address Length Access Write Only
Address Parameter description 255-256 Reference correction [mm]
Holding register (FUNCTION 03/06/16)
255
Data type float32_t float32_t
Data type float32_t
en_BA_OXH7_PosCon_TCP_IP.docx 60/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 61
11
8
4.2.3.1
Function
Address 300 – Switching Output Configuration
Holding register (FUNCTION 03/06/16) Address Length
Address Parameter description 300-301 Switch Point 1 302-303 Switch Point 2 304-305 Switch Mode 306-307 Hysteresis 308-309 Measurement Value
0 = Average 1 = Max 2 = Min 3 = Delta 4 = Standard Deviation
310
Polarity 0 = Active Low 1 = Active High
300
Data type float32_t float32_t int32_t float32_t int32_t
uint16_t
Address 400 – Get Trigger Mode Settings
4.2.3.1
Function Address Length
Address Parameter description 400-401 Trigger Mode
0 = FreeRunning 1 = SingleShot 2 = Interval
3 = Internal (not settable) 402-403 Fixed Trigger Time [us] 404-405 Minimal Fixed Trigger Time [us] (command does not care
which number is written)
en_BA_OXH7_PosCon_TCP_IP.docx 61/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Holding register (FUNCTION 03/06/16) 400
Data type int32_t
uint32_t uint32_t
Page 62
406-407 Maximal Fixed Trigger Time [us] (command does not care
1
1
1
which number is written)
Address 410 – Laser On/Off
4.2.3.1
Function
Holding register (FUNCTION 03/06/16)
uint32_t
Address Length
Address Parameter description 410
4.2.3.1
Stores the currently active parameters in a parameter setup. Function
Address Length Access Write Only
Address Parameter description 500
4.2.3.1
Loads a parameter setup. Function
Laser State
Address 500 – Store Setting
Parameter Setup No. (1, 2, or 3)
Address 501 – Load Setting
410
Holding register (FUNCTION 03/06/16) 500
Holding register (FUNCTION 03/06/16)
Data type uint16_t
Data type uint16_t
Address Length Access Write Only
Address Parameter description 501
4.2.3.1
Resets a parameter setup to the default setting.
en_BA_OXH7_PosCon_TCP_IP.docx 62/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Parameter Setup No. (1, 2, or 3)
Address 502 – Reset Setting
501
Data type uint16_t
Page 63
Function
1
1
Holding register (FUNCTION 03/06/16) Address Length Access Write Only
Address Parameter description 502
4.2.3.1
Function Address Length Access Write Only
Address Parameter description 503
Parameter Setup No. (1, 2, or 3)
Address 503 – Sensor Reset
Sensor Reset (command does not care which number is written)
502
Holding register (FUNCTION 03/06/16)
503
Data type uint16_t
Data type uint16_t
en_BA_OXH7_PosCon_TCP_IP.docx 63/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 64
4.2.4 Modbus TCP commands: Input register
33
46
5
6
6
16
10
6
19
14
4
1
1
29
29
29
Overview of index commands for input register function 04
4.2.4.1
Address Length Command
0 40 90
100 120 130 150 180 200 250 300 400 401 410 450 490 600 708 816
924 1032 1140 1248 1356 1464 1572 1680 1788 1896 2004 2112 2220 2328
Vendor Information Device Information Frontend Version Read Eth Config MAC Address Support E-Mail Get Field of View Limits Get Flex Mount Limits Get All Measurements Get Teachable Range Live Monitor Unsaved Config Active Setting Number Get Setting 1 Get Setting 2
Get Setting 3 108 Get Block Mode Memory 0 108 Get Block Mode Memory 1 108 Get Block Mode Memory 2 108 Get Block Mode Memory 11 108 Get Block Mode Memory 12 108 Get Block Mode Memory 13 108 Get Block Mode Memory 14 108 Get Block Mode Memory 15 108 Get Block Mode Memory 16 108 Get Block Mode Memory 3 108 Get Block Mode Memory 4 108 Get Block Mode Memory 5 108 Get Block Mode Memory 6 108 Get Block Mode Memory 7 108 Get Block Mode Memory 8 108 Get Block Mode Memory 9 108 Get Block Mode Memory 10
Address 0 – Vendor Information
4.2.4.1
In the vendor information, the Baumer ID and the vendor name are stored and returned. Function
en_BA_OXH7_PosCon_TCP_IP.docx 64/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Input register (FUNCTION 04)
Page 65
Address
0
33
40
46
90
5
6
Length
Address Parameter description Data type 0-32
4.2.4.1
The device information contains the device ID, product ID, the sensor type, and the serial number. Function
Address Length
Address Parameter description 40-44 45-77 78-84
4.2.4.1
Returns the version of the website. Function
Address
Vendor Name
Address 40 – Device Information
Input register (FUNCTION 04)
Product ID Sensor Type Serial Number
Address 90 – Frontend Version
Input register (FUNCTION 04)
STRING[65]
Data type STRING[9] STRING[65] STRING[15]
Length
Address Parameter description 90-94
4.2.4.2
The Ethernet configuration contains the IP address, subnet mask, and gateway address. Function
Address Length
Address Parameter description 100-101 IP Address
en_BA_OXH7_PosCon_TCP_IP.docx 65/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Frontend Version
Address 100 – Read Eth Config
Input register (FUNCTION 04) 100
Data type STRING[9]
Data type uint32_t
Page 66
102-103 Subnet Mask
6
16
uint32_t
104-105 Gateway Address
Address 120 – MAC Address
4.2.4.3
Function Address Length
Address Parameter description 120 121 122 123 124 125
Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5
uint32_t
Input register (FUNCTION 04) 120
Data type uint16_t uint16_t uint16_t uint16_t uint16_t uint16_t
Address 130 – Support E-Mail
4.2.4.1
E-mail address which the web frontend can show as a contact address Function
Address Length
Address Parameter description 40-55
Support E-Mail Address
Input register (FUNCTION 04) 130
Data type STRING[32]
en_BA_OXH7_PosCon_TCP_IP.docx 66/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 67
Address 150 – Field of View Limits
10
6
19
4.2.4.2
Returns the measurement range limits. Function
Input register (FUNCTION 04) Address Length
Address Parameter description 150-151 Minimum Left Limit [mm] 152-153 Maximum Right Limit [mm] 154-155 Maximum Height [mm] 156-157 Minimum Width [mm] 158-159 Minimum Height [mm]
Address 180 – Flex Mount Limits
4.2.4.3
Returns the limits of the Flex Mount. Function
Address Length
Address Parameter description
150
Input register (FUNCTION 04)
180
Data type float32_t float32_t float32_t float32_t float32_t
Data type
180-181 Minimum Distance:
For a linear movement of the reference system on z-axis [mm]
182-183 Maximum Distance:
For a linear movement of the reference system on z-axis [mm]
184-185 Maximum Rotation Angle:
This is the maximum for clockwise and counterclockwise rotations [deg]
Address 200 – Get All Measurements
4.2.4.4
This command returns all measured and calculated values within one cycle including the trigger time stamp. Function
Address Length
en_BA_OXH7_PosCon_TCP_IP.docx 67/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Input register (FUNCTION 04)
200
float32_t
float32_t
float32_t
Page 68
14
Address Parameter description
Data type 200 201 202
203-204 Average [mm] 205-206 Max [mm] 207-208 Min [mm] 209-210 Delta [mm] 211-212 Standard Deviation [mm] 213-214 Measurement Rate [Hz] 215-216 Time Stamp [sec] 217-218 Time Stamp [usec]
Status Quality SwitchOut OR AlarmOut:
SwitchOut -> 0x0001 AlarmOut -> 0x0002
0: Nothing 1: Switch Out 2: Alarm Out 3: Switch and Alarm Out
uint16_t
uint8_t
uint16_t
float32_t
float32_t
float32_t
float32_t
float32_t
float32_t
uint32_t
uint32_t
Address 250 – Get Teachable Range
4.2.4.1
Returns the min./max. range which the switching points can be set to. Function
Address Length
Address Parameter description 250-251 Min SP1 252-253 Max SP1 254-255 Min SP2 256-257 Max SP2 258-259 Min Hysteresis [mm] 260-261 Maximum Hysteresis [mm]
en_BA_OXH7_PosCon_TCP_IP.docx 68/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Input register (FUNCTION 04) 250
Data type
float32_t
float32_t
float32_t
float32_t
float32_t
float32_t
Page 69
262-263 Minimal Distance between Switch Points
4
1
1
29
Address 300 – Live Monitor
4.2.4.1
Returns the rotation angle and the distance from the sensor. The data is only available if the sensor is in Configuration mode.
Function
Input register (FUNCTION 04)
float32_t
Address Length
Address Parameter description 300-301 Rotation angle [deg] 302-303 Distance [mm]
Address 400 – Unsaved Config
4.2.4.1
Indicates if the sensor is running with a configuration which is not stored in any setting. Function
Address Length
Address 401 – Active Setting Number
4.2.4.1
Returns the number of the active setting. The available setting numbers are 1-3. Function
Address
300
Data type
float32_t
float32_t
Input register (FUNCTION 04) 400
Input register (FUNCTION 04) 401
Length
Address 410 – Get Setting 1
4.2.4.2
The sensor supports three settings (1, 2, 3) which hold an entire configuration. These settings can be stored, loaded, and reset.
Function Address Length
Address Parameter description 410-411 Trigger Mode 412-413 Fixed Trigger Time [us]
en_BA_OXH7_PosCon_TCP_IP.docx 69/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Input register (FUNCTION 04) 410
Data type
int32_t
uint32_t
Page 70
414
29
Exposure Time [us]
uint16_t 415 416-417 Range Left [mm] 418-419 Range Right [mm] 420-421 Range Offset [mm] 422-423 Range Height [mm] 424-425 Rotation Angle [deg] 426-427 Distance [mm] 428-429 Switch Point 1 [mm] 430-431 Switch Point 2 [mm] 432-433 Switch Mode 434-435 Hysteresis Width [mm] 436-437 Measurement Value (Switching Output) 438
4.2.4.3
The sensor supports three settings (1, 2, 3) which hold an entire configuration. These settings can be stored, loaded, and reset.
Function
Precision
Polarity
Address 450 – Get Setting 2
Input register (FUNCTION 04)
uint16_t
float32_t
float32_t
float32_t
float32_t
float32_t
float32_t
float32_t
float32_t
int32_t
float32_t
int32_t
uint16_t
Address Length
Address Parameter description Data type 450-451 Trigger Mode int32_t 452-453 Fixed Trigger Time [us] uint32_t 454 Exposure Time [us] uint16_t 455 Precision uint16_t 456-457 Range Left [mm] float32_t 458-459 Range Right [mm] float32_t 460-461 Range Offset [mm] float32_t 462-463 Range Height [mm] float32_t
en_BA_OXH7_PosCon_TCP_IP.docx 70/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
450
Page 71
29
464-465 Rotation Angle [deg] float32_t 466-467 Distance [mm] float32_t 468-469 Switch Point 1 [mm] float32_t 470-471 Switch Point 2 [mm] float32_t 472-473 Switch Mode int32_t 474-475 Hysteresis Width [mm] float32_t 476-477 Measurement Value (Switching Output) int32_t 478 Polarity uint16_t
Address 490 – Get Setting 3
4.2.4.4
The sensor supports three settings (1, 2, 3) which hold an entire configuration. These settings can be stored, loaded, and reset.
Function
Input register (FUNCTION 04) Address Length
Address Parameter description Data type 490-491 Trigger Mode int32_t 492-493 Fixed Trigger Time [us] uint32_t 494 Exposure Time [us] uint16_t 495 Precision uint16_t 496-497 Range Left [mm] float32_t 498-499 Range Right [mm] float32_t 500-501 Range Offset [mm] float32_t 502-503 Range Height [mm] float32_t 504-505 Rotation Angle [deg] float32_t 506-507 Distance [mm] float32_t 508-509 Switch Point 1 [mm] float32_t
490
510-511 Switch Point 2 [mm] float32_t 512-513 Switch Mode int32_t 514-515 Hysteresis Width [mm] float32_t 516-517 Measurement Value (Switching Output) int32_t
en_BA_OXH7_PosCon_TCP_IP.docx 71/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 72
518 Polarity uint16_t
Address 600-2436 – Block Mode Memory
4.2.4.1
To enable all measurement values to be retrieved in full with the maximum measurement rate, all measurement values are stored in a buffer containing up to 100 entries. When accessing the input register with address 600, the content of the buffer is copied to the Modbus TCP output buffer. From here, the content can then be retrieved sequentially in multiple sub-blocks. Each sub-block contains six measurement values.
Function Input register (FUNCTION 04) Address 600, 708, 816, 924, 1032, 1140, 1248, 1356, 1464, 1572, 1680, 1788,
1896, 2004, 2112, 2220, 2328 Length 108
Address
Parameter description Data type
offset 0 Quality uint8_t 1 SwitchOut OR AlarmOut:
uint16_t SwitchOut -> 0x0001 AlarmOut -> 0x0002
0: Nothing 1: Switch Out 2: Alarm Out 3: Switch and Alarm Out
2-3 Average [mm] float32_t 4-5 Max [mm] float32_t 6-7 Min [mm] float32_t 8-9 Delta [mm] float32_t 10-11 Standard Deviation [mm] float32_t 12-13 Measurement Rate [Hz] float32 14-15 Time Stamp [sec] uint32_t 16-17 Time Stamp [usec] uint32_t
en_BA_OXH7_PosCon_TCP_IP.docx 72/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 73
4.3 OPC UA
OPC UA is a mature and convenient protocol which was specially developed to meet automation technology requirements. The client functionality required is already partially supported by programmable logic controllers. Various software libraries are available for PC-based systems. Further information is available on the website of the OPC Foundation (https://opcfoundation.org). An example of how a freely available OPC UA client can be used is described below.
4.3.1 Commissioning with the UaExpert OPC UA Client
The UaExpert software described can be acquired from https://www.unified-automation.com/downloads/opc-
ua-clients.html once you have logged into the site.
Interface
4.3.1.1
Adding a sensor
4.3.1.2
Click "Add Server".
en_BA_OXH7_PosCon_TCP_IP.docx 73/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 74
Expand "Custom Discovery" and select "<Double click to Add Server…>"
Enter the IP address of the sensor here and click OK to confirm.
opc.tcp://192.168.0.250
en_BA_OXH7_PosCon_TCP_IP.docx 74/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 75
The sensor appears with the IP address. Click OK to confirm.
opc.tcp://192.168.0.250
en_BA_OXH7_PosCon_TCP_IP.docx 75/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 76
The sensor now appears in the top left-hand window under "Project" and can be connected by right-clicking and selecting Connect.
The sensor is now connected and can be used. The function tree was read from the sensor and is displayed in the left-hand window under "Address Space".
Explanation of symbols
4.3.1.3
= Nodal point
= Variable node (partly read/write)
= Variable node (property) = Method node = action with call
Making settings
4.3.1.4
As soon as InitLock has been activated, settings can be made on the sensor.
Example: The precision should be set to Standard (measurement without filtering):
ActiveParameterSetupPrecision
en_BA_OXH7_PosCon_TCP_IP.docx 76/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 77
The value can now be set under "Value". Double-click on this and change.
Double-click and adjust using the dropdown menu
en_BA_OXH7_PosCon_TCP_IP.docx 77/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 78
Reading measurement values
4.3.1.5
Under MeasurementMeasurementValues Click on the required measurement value here, e.g., Average.
The "Attribute" window on the right outputs all relevant values for this property. The measurement value is found under "Value". Clicking "Refresh" updates the measurement value.
en_BA_OXH7_PosCon_TCP_IP.docx 78/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 79
4.3.2 Structure and description of the OPC UA commands
Sensor function tree
4.3.2.1
Unlocking
4.3.2.2
In order to configure the sensor, this must be unlocked using a command.
Right-click on "InitLock" and then execute with "Call".
en_BA_OXH7_PosCon_TCP_IP.docx 79/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 80
Click "Call" again to unlock the sensor.
Settings can now be made (write).
ActiveParameterSetup
4.3.2.3
Output of the active sensor parameters.
OPC UA command Explanation
ExposureTime Exposure time: light/dark object FieldOfView Field of view limits: field of view height,
offset, left limit, right limit
FlexMount Stored Flex Mount values for angle and
distance
Precision Precision filtering. Settings: standard,
high, very high ResetFlexMount Reset Flex Mount to default settings SetFieldOfViewToMax Reset field of view to maximum values SwitchingOutputConfigur ation
Make settings for the switching output:
hysteresis, polarity, threshold/window, set
switching points TeachFlexMount Activate Flex Mount; teach in the new
reference surface TriggerConfiguration For setting the measuring intervals. Free
running, single shot, or interval UnsavedParameterSetup True if the currently active configuration
has not yet been saved in nonvolatile
(permanent) memory
en_BA_OXH7_PosCon_TCP_IP.docx 80/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 81
CommunicationSettings
4.3.2.4
Output of the communication settings.
Identification
4.3.2.5
OPC UA command Sensor command
Ethernet Output of MAC address Ip Output and modification of IP address,
gateway, subnet mask, and DHCP server.
ModbusTCP Switching on/off the Modbus interface by
setting 0=Off or 1=On
OPC UA command Sensor command
ProductId Output of the article/order number of the
sensor
Lock
4.3.2.6
OPC UA command Sensor command
BreakLock Not implemented ExitLock Leave Configuration mode InitLock Set sensor to Configuration mode,
enabling settings to be changed
Locked Specifies whether the sensor is currently
in Configuration mode
LockingClient Specify which interface was used to set
the sensor to Configuration mode LockingUser Not implemented RemainingLockTime Not implemented RenewLock Not implemented
en_BA_OXH7_PosCon_TCP_IP.docx 81/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 82
Measurement
4.3.2.7
Output of the sensor measurement values.
OPC UA command Sensor command
AlarmOutput Output of alarm output – active yes/no Average Output of the average ConfigModeActive The measurement value was determined
Delta Output of the delta value Max Output of the maximum value MeasurementRate Output of the measurement rate in Hz Min Output of the minimum value Quality Output of the signal quality 0 = Valid signal,
StandardDeviation Output of the standard deviation SwitchingOutput Output of switching output – active yes/no TimelsSynchronized The time stamp of the measurement is
MeasurementValuesBlock The last 100 measurement values are
when the sensor was in Configuration mode
1 = Low signal, 2 = No signal
based on the time synchronized via NTP
saved with a time stamp and can be retrieved if necessary. When new measurement values are saved, the oldest measurement value is deleted first.
en_BA_OXH7_PosCon_TCP_IP.docx 82/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 83
MethodSet
OPC UA command
Sensor command
4.3.2.8
List of all methods made available by the sensor
FactoryReset Reset the factory settings LoadParameterSetup Load stored parameter setup 1-3. The value 1-3
ResetFlexMount Deactivate Flex Mount ResetParameterSetup Delete stored parameter setup 1-3. The value 1-
SetFieldOfViewToMax Reset the field of view to the maximum value SetIpParameters Modify IP address, subnet mask, and standard
StoreParameterSetup Store active parameters in parameter setup 1-3.
TeachFlexMount Teach Flex Mount. The value of the reference
Model Output of the model name
must be specified
3 must be specified
gateway
The value 1-3 must be specified
thickness can be specified. If the conditions for Flex Mount are not met, an error is returned and Flex Mount is not activated 50000 = Distance not within permitted range 50001 = Angle not within permitted range 50002 = Evenness not within permitted range 50003 = Segment length not within permitted range 50004 = Reference data not valid 50005 = No reference data available
MountingAssistant
4.3.2.9
Check of the installation conditions.
en_BA_OXH7_PosCon_TCP_IP.docx 83/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
OPC UA command Sensor command
LaserOn Switch laser on/off MountingPosition Output of the current mounting angle and
the distance to the reference surface. These values can only be read if the sensor is in Configuration mode
Page 84
4.3.2.10
ParameterSet
Summary of all sensor parameters. These can be displayed or set here.
OPC UA command Sensor command
ActiveParameterSetupNumber Specifies which parameter setup was
ExposureTime Exposure time: light/dark object FieldOfView Values for field of view FlexMount Angle and distance for Flex Mount IpAddress IP address LaserOn Laser on/off MacAddress MAC address MeasurementValues Output of all current measurement values MeasurementValuesBlock Output of the last 100 measurement
ModbusActive Modbus on/off MountingPosition Mounting assistant: current mounting
NtpServer1 IP address for NTP (Network Time
NtpServer2 IP address for NTP (Network Time
ParameterSetup1 Parameter setup 1 ParameterSetup2 Parameter setup 2 ParameterSetup3 Parameter setup 3 Precision Standard/high/very high precision ProductId Article/order number StandardGateway Standard gateway SubnetMask Subnet mask SwitchingOutputConfiguration Switching points and hysteresis TimeSyncMode Internal or NTP time synchronization TriggerConfiguration Trigger mode: free running, single shot, or
UnsavedParameterSetup True if the currently active configuration
UseDhcp Use DHCP ( Dynamic Host Configuration
loaded most recently and which will be reloaded following an interruption to the power supply
values
angle and distance to the reference surface
Protocol) server 1
Protocol) server 2
interval
has not yet been saved in nonvolatile (permanent) memory
Protocol)
en_BA_OXH7_PosCon_TCP_IP.docx 84/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 85
OPC UA command
Sensor command
4.3.2.11
ParameterSetups
The parameter setups stored on the sensor can be displayed or loaded here.
ActiveParameterSetupNumber Number of the active parameter setup 1-3 LoadParameterSetup Load the stored parameter setup 1-3. The
value 1-3 must be specified
ResetParameterSetup Delete stored parameter setup 1-3. The
value 1-3 must be specified
StoreParameterSetup Store active parameters under parameter
StoredParameterSetups Display or adjust parameter setups 1-3 UnsavedParameterSetup True if the currently active configuration
setup memory location 1-3. The value 1-3 must be specified
has not yet been saved in nonvolatile (permanent) memory
4.3.2.12
TimeSynchronization
Settings for time synchronization
OPC UA command Sensor command
NtpServer1 IP address for NTP (Network Time
Protocol) server 1
NtpServer2 IP address for NTP (Network Time
Protocol) server 2
TimeSyncMode Internal or NTP time synchronization
en_BA_OXH7_PosCon_TCP_IP.docx 85/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 86
5 Operation
LED Lights up
Flashes
Yellow
Switching out
Red Alarm out
Signal gain
Green
Power
Short circuit
Blue
Link
Data transmission
5.1 Status displays on the sensor
Switching out
Alarm out
Power / Link
Switching output (out 1) active Alarm output (out 2) active. No measuring
object within the field of view or signal quality is inadequate
Sensor ready for operation, Ethernet connection not available
Ethernet connection established
Switching out
Alarm out
Power / Link
-
Object close to signal gain or signal quality not ideal
Check connection at switching or alarm output
Data packets are sent and received via Ethernet
en_BA_OXH7_PosCon_TCP_IP.docx 86/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 87
Response time
Measuring
Measuring value display
5.2 Measuring frequency, measuring repeat time, and response time
A complete measurement cycle consists of exposure, calculation, and measuring value display. In order to increase the measuring speed, process steps are executed simultaneously.
Exposure
Calculation
repeat time
5.2.1 Measuring frequency and measuring repeat time
The time between two exposure times is referred to as measuring repeat time. This time can be converted into a frequency (Hz), which indicates how many measurement values can be issued by the sensor in one second.
[] =
1
ℎ[]
5.2.2 Automatic exposure control
The color and surface of the object have an influence on the amount of reflected light. A longer exposure time is required for dark objects than for light objects. The sensor automatically controls the exposure time on the basis of the amount of light reflected by the object. This slows down the measuring frequency and the response time. In this case, the degree of slowdown is dependent on the laser class of the sensor.
5.3 Alarm output
The alarm signal is output as a push-pull signal (active high). It is set when the object is outside the measuring range or the signal quality is insufficient for evaluation. If the signal quality is insufficient, the analog and switching outputs for 75 measurement cycles are kept at the last valid value. After this time has elapsed, the analog and switching outputs are set as if an object were at the start of the measuring range.
NOTE
As soon as the alarm output is active, the analog and switching outputs for 75 measurement cycles are kept at the last valid value.
en_BA_OXH7_PosCon_TCP_IP.docx 87/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 88
Distance from the sensor
5.4 Object to be measured
5.4.1 Smallest detectable object
For an object to be reliably detected, it must conform to the minimum object width1. This minimum object width varies with the distance from the sensor.
Smallest detectable object – near
Smallest
detectable object
Smallest detectable object – far
5.4.2 Reflectivity
Light objects are generally easier to detect than dark objects, since they are more reflective. Reflectivity is the percentage relationship between incident and reflected light.
Definition of objects:
Object white approx. 90%
reflectivity Object black approx. 6% reflectivity Object light > 18% reflectivity Object dark 6…18% reflectivity
5.4.3 Standard object
The technical data for sensors in the data sheet refers to measurements with a Baumer standard object. This standard object is precisely defined in size, shape, and color, making multiple measurements comparable.
Standard object definition:
Ceramics white (reflectivity approx. 90%)
Smooth, flat surface
Covers entire sensor measuring range
1
In accordance with chapter Sensor data sheet
en_BA_OXH7_PosCon_TCP_IP.docx 88/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 89
5.5 Memory
All changes stored in a parameter setup are saved in nonvolatile (permanent) memory and are even retained after a power outage.
en_BA_OXH7_PosCon_TCP_IP.docx 89/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 90
5.6 Error correction and tips
Error Error correction
No function Check connection. Power supply 15…28 VDC on pin 2 (+Vs,
brown) and pin 7 (GND, blue) Green LED flashes Short circuit on switching outputs. Check connection Red LED lights up Object outside field of view (near, far, or to the side)
Amplitude of the received signal is insufficient (e.g., in case of soiling)
Sensor does not provide the expected measuring results
The sensor does not take account of all objects within the field of view
Unreliable measurement value: The measurement value jumps back and forth
Transmitting laser light is dim Sync-In input is on High--> set to Low Incorrect measurement values This is probably due to a malfunction caused by ambient light. Attempts
A communication error occurs during changing the IP address No tool status message during an error
Check inclination angle and work in Flex Mount mode if required (teach the new reference surface)
The object is not in the measuring range
Bright object, avoid direct reflexes from the transmitter to the
receiver
Enlarge field of view. The field of view was possibly limited; see Section "FIELD OF VIEW"
The red visible laser beam does not represent the maximum field of view. If the object is at the edge of this beam it could be outside the measuring range
Move object. The object is outside the field of view vertically or is in the blind region of the sensor
The object is not in the measuring range
Avoid bright object
Avoid very dark object
Too much ambient light
Check measurement mode setting (MEASUREMENT MODE)
should be made to reduce the ambient light If the IP address is changed, it must be reconnected to the sensor
A tool status message only states that the communication with the sensor that was initiated by the call was successful. If there are problems, for example when teaching with Flex Mount, this is returned by the sensor as an error code
en_BA_OXH7_PosCon_TCP_IP.docx 90/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 91
6 Safety instructions and maintenance
6.1 General safety instructions
Intended use
This product is a precision device and is used for object detection and the preparation and/or provision of measurement values as electrical quantities for a subsequent system. Unless this product is specially labeled, it may not be used for operation in potentially explosive environments.
Commissioning
Installation, mounting, and adjustment of this product may only be performed by a qualified person.
Installation
For mounting, use only the mechanical mountings and mechanical mounting accessories intended for this product. Unused outputs must not be wired. In cable versions with unused cores, these cores must be insulated. Always comply with admissible cable bending radii. Prior to electrical connection of the product, the system must be disconnected from the power supply. In areas where shielded cables are mandatory, they must be used as protection against electromagnetic disturbances. If the customer makes plug connections to shielded cables, an EMC version of the connectors should be used, and the shield must be connected to the connector housing across a large area.
Caution
Deviation from the procedures and settings specified here can lead to hazardous radiation effects.
en_BA_OXH7_PosCon_TCP_IP.docx 91/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 92
6.2 Sensor inscriptions
PosCon OXH7
OM70
-
X multi
-
spot
Information and
warning plate
FDA certification plate
Article name Serial number MAC address
Material number
Production code
Class 1: No risk for eyes or skin
Class 1 lasers are safe under reasonably foreseeable operational conditions of normal use, including direct long-term viewing of the beam, even when exposure
Information and warning plate
occurs using a magnifying optic.
Accidental short-term exposure (up to 0.25 s) does not damage the eye, because the corneal reflex can automatically protect the eye sufficiently from longer radiation. Class 2 lasers may be used without any further protection if intentional staring into the beam
Class 2: Do not stare into the beam
is not required for the application.
Complies with 21 CFR 1040.10 and 1040.11
except for deviations pursuant to laser
FDA
plate
notice No. 50, dated June 24, 2007
IEC 60825-1/2014
certification
en_BA_OXH7_PosCon_TCP_IP.docx 92/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 93
ATTENTION!
6.3 Front optic
In the event of a broken front optic, defective display, or loose or exposed laser lens, the sensor must be disconnected from the power supply immediately. It must not be put into operation again until it has been inspected by an authorized person. Non-compliance with these safety instructions may lead to the release of hazardous laser beams.
The use of a sensor with a broken front optic or loose or exposed lens can lead to hazardous laser radiation.
6.4 Cleaning the sensors
The laser distance sensors do not require any maintenance, except that the front windows must be kept clean. Dust and fingerprints can impair sensor function. It is normally sufficient to wipe the windows with a clean (!), soft lens cleaning cloth. Alcohol or soapy water can be used in case of severe soiling. The display and the keys must be kept free from dirt and moisture. Water and dirt on the keys can impair their function.
ATTENTION!
Protect optical surfaces from moisture and dirt.
6.5 Disposal
This sensor contains electronic components. Dispose of parts according to country-specific provisions.
en_BA_OXH7_PosCon_TCP_IP.docx 93/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 94
7 Sensor data sheet
234
2
3
234
2
3
234
6
234
General data PosCon OXH7
11185166 OXH7-11185166
Function Height Function: Flex Mount Yes Function: FIELD OF VIEW Yes Measuring range (distance) 100…150 mm Start of measuring range Sdc 100 End of measuring range Sde 150 Measuring range (width) 48…72 mm Field of view width right @ Sde +36 mm Field of view width left @ Sde -36 mm Blind region 0…100 mm Measuring frequency
- OBJECT light (approx. 90% refl.)
- OBJECT dark (approx. 6% refl.) Response time
- OBJECT light (approx. 90% refl.)
- OBJECT dark (approx. 6% refl.) AVG HEIGHT resolution
(max. field of view width)
MIN / MAX HEIGHT resolution
AVG HEIGHT repeat accuracy (max. field of view width)
MIN / MAX HEIGHT repeat accuracy
Linearity error Temperature drift PRECISION filter values:
Standard High Very High
Smallest detectable object Laser class 1
Max. reference surface unevenness (rms) ±0.04 mm Min. reference surface length 24 mm Digital output hysteresis Adjustable in mm Minimum switching window 2 mm Power on indication/data transmission LED green/LED blue Output indicator Yellow LED / red LED Light source Red laser diode, pulsed Setting Web interface, Modbus TCP, OPC UA
1
Measurement rate subject to measuring range (distance). Min. value: maximum field of view; max. value: 20% of field of view
2
Measurements with standard Baumer measuring equipment and objects dependent on measuring range Sd
3
Measurement on 90% reflectivity (white)
4
Measurement with Average measurement mode
5
Measurement with filtering
6
Measuring range (distance) 100…112.5 mm
244…570 Hz13 192…342 Hz13
3.5…8.2 ms13
5.8…10.4 ms13 8…16 µm
4…8 µm 2…4 µm
23…48 µm 12…24 µm 6…12 µm
8 µm 4 µm 2 µm
16 µm 8 µm 4 µm
±20 µm ±0.04% Sde/K
(without filter)
2345
(with precision = high filter)
2345
(with precision = very high filter)
(without filter)
235
(with precision = high filter)
235
(with precision = very high filter)
(without filter)
2345
(with precision = high filter)
2345
(with precision = very high filter)
(without filter)
235
(with precision = high filter)
235
(with precision = very high filter)
Median Average Off Off 3 Off 3 16
0.7…1.1 mm
en_BA_OXH7_PosCon_TCP_IP.docx 94/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 95
Electrical data
Mechanical data
Ambient conditions
IEC 60068
-2-
6:2008
IEC 60068
-2-
6:2008
IEC 60068
-2-
64:2008
IEC 60068
-2-
27:2009
Optical properties
PosCon OXH7 11185166
OXH7-11185166
Voltage supply range +Vs Max. supply current (without load) 120 mA
Switching output Push-pull Switching function Out 1 / alarm Output current < 100 mA Baud rate 38,400 / 57,600 / 115,200 Reverse polarity protection Yes, +Vs to GND Short circuit protection Yes
15 ... 28 VDC
PosCon OXH7 11185166
OXH7-11185166
Width / Height / Length Design Rectangular, front view
Housing material Aluminum Front optic Glass Connection method M12 8-pin & M12 4-pin plugs Weight 134 g
26 / 74 / 55 mm
PosCon OXH7 11185166
OXH7-11185166
Ambient light immunity Operating temperature -10 ... +50 °C
Storage temperature -20 … +60 °C Protection class IP 67 Vibration (sinusoidal)
Resonance test
Vibration resistance (random)
Shock (semi-sinusoidal)
< 35 kLux
7.5mm p-p for f = 2 - 8Hz 2g for f = 8 – 200Hz, or 4g for 200 – 500Hz IEC 60068-2-6:2008
1.5 mm p-p at f = 10 - 57 Hz, 10 cycles per axis 10 g at f = 58 - 2000 Hz, 10 cycles per axis
1.5mm p-p for f = 10 - 57Hz , 10 cycles for each axis 10g for f = 58 -2,000Hz, 10 cycles for each axis
Spectrum: 0.1 g2/Hz for 20 – 1,000Hz, 300 minutes / axis (>10gRMS)
30 g / 11 ms, 6 jolts per axis and direction
PosCon OXH7 11185166
OXH7-11185166
Light source Wave length 656 nm
Operating mode Pulsed Pulse duration
Light mode Dark mode
AlGaInP laser diode
0.6 ms
1.8 ms
en_BA_OXH7_PosCon_TCP_IP.docx 95/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 96
Pulse period
 ∥
Light mode Dark mode
Total emitted pulse power 3 mW Beam shape Elliptical (focused toward laser line) Focal distance df 125 mm Beam size at window
Vertical Parallel
Beam size at focal point Vertical Parallel
Beam divergence Vertical
δ
Parallel
δ
Nominal ocular hazard distance (NOHD)1 NA Laser classification (as per IEC 60825-
1/2014)
> 1.7 ms > 2.9 ms
2.5 mm
7.5 mm
< 0.1 mm L = 73 mm
16.0 mrad
30.2°
Laser class 1
1
Outside the "Nominal ocular hazard distance", the radiation exposure is below the limit value of laser class 1
en_BA_OXH7_PosCon_TCP_IP.docx 96/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 97
8 Revision history
06/15/2018 tof Manual released in version 1.0
en_BA_OXH7_PosCon_TCP_IP.docx 97/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Page 98
en_BA_OXH7_PosCon_TCP_IP.docx 98/98 Baumer Electric AG Friday, June 15, 2018 12:44:11 PM/tof V1.0 ANW_81184815 Frauenfeld, Switzerland
Loading...