Baumer BA UNxK09 IO User Manual

Instruction Manual
UNCK 09G8914/IO UNCK 09G8914/KS35A/IO UNDK 09G8914/IO UNDK 09G8914/KS35A/IO
en_BA_UNXK 09-IO-Link.doc 2/18 Baumer Electric AG
24.04.2012/haa Frauenfeld, Switzerland
Content
1 General Information .....................................................................................................................3
1.1 About this Document ......................................................................................................................3
1.2 General Information........................................................................................................................3
2 IO Link Introduction .....................................................................................................................4
2.1 SIO Mode........................................................................................................................................4
2.2 IO Link Communication Mode ........................................................................................................4
2.3 IODD (IO Link Device Description).................................................................................................5
3 Sensor in the SIO Mode ...............................................................................................................5
4 Sensor in the IO Link Communication Mode.............................................................................5
4.1 Process Data..................................................................................................................................5
4.1.1 Process Data Structure...................................................................................................................5
4.2 Parameters and Commands...........................................................................................................6
4.2.1 Product Information ........................................................................................................................6
4.2.2 Parameters.....................................................................................................................................6
4.2.3 Commands .....................................................................................................................................6
4.2.4 Saving Modifications.......................................................................................................................6
5 Explanation of the Sensor Configuration ..................................................................................7
5.1 Teaching a User-Specific Measuring Range ..................................................................................7
5.1.1 Parameter.......................................................................................................................................7
5.1.2 Commands .....................................................................................................................................7
5.1.3 Description......................................................................................................................................7
5.1.4 Error handling.................................................................................................................................9
5.2 Teach-in of user specific switching points.....................................................................................10
5.2.1 Parameter.....................................................................................................................................10
5.2.2 Commands ...................................................................................................................................10
5.2.3 Description....................................................................................................................................10
5.2.4 Hysteresis.....................................................................................................................................13
5.2.5 Error handling...............................................................................................................................13
5.3 Averaging......................................................................................................................................13
5.3.1 Parameter.....................................................................................................................................13
5.3.2 Description....................................................................................................................................13
5.4 Temperature compensation..........................................................................................................14
5.4.1 Parameter.....................................................................................................................................14
5.4.2 Description....................................................................................................................................14
5.5 Locking/releasing of Teach-in button............................................................................................14
5.5.1 Parameter.....................................................................................................................................14
5.5.2 Description....................................................................................................................................14
6 Overview of SPDUs ....................................................................................................................15
6.1 Table of General Information SPDUs ...........................................................................................15
6.2 Table of Parameter SPDUs ..........................................................................................................15
6.3 Table of System Commands.........................................................................................................16
6.4 Table of error Codes.....................................................................................................................16
6.5 Table of Factory Settings..............................................................................................................17
7 Mounting......................................................................................................................................17
7.1 Mounting options and installation hints.........................................................................................17
en_BA_UNXK 09-IO-Link.doc 3/18 Baumer Electric AG
24.04.2012/haa Frauenfeld, Switzerland

1 General Information

1.1 About this Document

These instructions contain information related to commissioning and communications with the Baumer Series 14 photoelectric distance sensor equipped with the IO Link interface. They supplement the installation instructions, already provided with each sensor.
These instructions apply to the following sensor versions:
UNCK 09G8914/IO UNCK 09G8914/KS35A/IO UNDK 09G8914/IO UNDK 09G8914/KS35A/IO

1.2 General Information

Rules for proper usage
This product is a precision measuring device which has been designed for the detection of objects and parts. It generates and provides measured values issued as electrical signals for following systems. Unless this product has not been specifically marked it may not be used in hazardous areas.
Set-up
Installation, mounting and adjustment of this product may only be executed by skilled employees.
Installation
Only mounting devices and accessories specifically provided for this product may be used for installation. Unused outputs may not be connected. Unused strands of hard-wired sensors must be isolated. Do not exceed the maximum permissible bending radius of the cable. Before connecting the product electrically the system must be powered down. Where screened cables are mandatory, they have to be used in order to assure EMI protection. When assembling connectors and screened cables at customer site the screen of the cable must be linked to the connector housing via a large contact area.
en_BA_UNXK 09-IO-Link.doc 4/18 Baumer Electric AG
24.04.2012/haa Frauenfeld, Switzerland

2 IO Link Introduction

In order to fully understand the various configuration options, these operating instructions describe the most important aspects of the IO Link interface. More detailed information concerning IO Link, together with all specifications, is available at www.IO-Link.com.
IO Link is a standard interface for sensors and actuators. Devices (sensors, actuators) are connected to an IO Link master via point-to-point connections. Communications between the master and the device are bidirectional, via the device switching line. This interface permits measuring values to be recorded. An option to configure the sensor via the IO Link is also provided. There are two modes of sensor operation: the standard input/output mode (SIO mode) and the IO Link communication mode.
The master switches the sensor to the IO Link communication mode. In this mode, process data (measurement data) are now continuously transferred from the sensor to the master, while requirement data (parameters, commands) are either written to the device or read from it.

2.1 SIO Mode

After start up, the sensor is automatically in the SIO mode. In this mode, the sensor operates as a standard switching or measuring sensor. On the master side, the IO Link port is set as a normal digital input. The sensor can be used like a standard sensor without IO Link. However, various functions can only be controlled with the aid of IO Link.

2.2 IO Link Communication Mode

The sensor is switched to the “communication mode” by means of a so-called “wake up” signal sent by the master. With this action, the master attempts to locate a connected device by means of a defined signal transmitted along the switching line. If the sensor responds, communication parameters are exchanged, after which the cyclic transmission of process data can begin. The following can be performed in the IO Link communication mode:
Process data can be received; Parameters (SPDUs) can be read from the sensor; Parameters (SPDUs) can be written to the sensor; Commands can be transmitted to the sensor (e.g., switching point teaching, resets to factory
settings, etc.). The process data contain cyclic data such as measuring value; switch status or quality information which is transferred to the higher level controller. The master can exit the IO Link communication mode by using a “fall back”, after which the sensor once again operates in the SIO mode until it receives the next “wake up”.
The sensor’s behavior in the SIO mode can be adjusted in the IO Link communication mode. This allows the sensor to be easily adapted to the requirements of corresponding parameters, and to then continue operating as a “normal” sensor, without the use of IO Link. Alternately, the sensor can also operate continuously in the IO Link communication mode in order to fully utilize the entire functional scope provided by the process data.
en_BA_UNXK 09-IO-Link.doc 5/18 Baumer Electric AG
24.04.2012/haa Frauenfeld, Switzerland

2.3 IODD (IO Link Device Description)

The IODD describes the IO Link device, and can be downloaded at www.baumer.com. It comprises a set of XML and PNG files. An engineering or diagnostic tool reads a sensor’s IODD in order to determine the following:
- Identification (manufacturer, designation, part number, etc.);
- Communication characteristics (communication speed, frame type, etc.);
- Parameters and commands;
- Process data;
- Diagnostic data (events).
The IODD determines who is permitted to review and modify which sensor data. How the data are presented and how they are manipulated is defined by the sensor manufacturer and is therefore independent of the sensor itself.

3 Sensor in the SIO Mode

In the SIO mode, the sensor operates in accordance with its factory settings or according to the settings defined by the user via IO Link. The functional scope in the SIO mode is sensor specific.

4 Sensor in the IO Link Communication Mode

4.1 Process Data

With the sensor in the IO Link communication mode, data are periodically exchanged between the IO Link master and the device. These data comprise process data and possibly commands and parameters for the sensor. Process data transfer the current measuring value and status bits such as the switch status, quality information, etc. to the master. The master does not need to explicitly request these process data.

4.1.1 Process Data Structure

Figure 1 illustrates the structure of process data. The following provides a brief description of the individual information.
Figure 1: Process data
4.1.1.1 Significance of the Measuring Value
The measuring value (Bit4…Bit15) has a range between 0…4095. The measuring value reflects the sensor’s current measuring range. If the object being measured lies at the start of the measurement value range (e.g., 30mm), a measuring value of 0 is output. If the object being measured lies at the end of the measurement value range (e.g., 200mm) a measuring value of 4095 is output.
en_BA_UNXK 09-IO-Link.doc 6/18 Baumer Electric AG
24.04.2012/haa Frauenfeld, Switzerland
4.1.1.2 Significance of the Status Information
Bit 0: Alarm
The alarm bit indicates whether an object lies within the measurement value range. Bit0 = 0 → An object lies within the specified measuring range. Bit0 = 1 → There is no object within the specified measuring range.
Bit 1: Switch bit
In the IO Link communication mode, the switch bit performs the function of a switching output. Bit1 = 0 → There is no object within the switching range. Bit1 = 1 → An object lies within the switching range.
Bit 2: Quality
This bit provides information about the quality of the sonic echo reflected by the object. Bit2 = 0 → The amount of reflected sonic is OK. Bit2 = 1 → The amount of reflected sonic is critical.
Bit3: Not used

4.2 Parameters and Commands

Parameters and commands are either written to the device or read from it using SPDU (Service Protocol Data Unit) indices. The read and write function is provided by the IO Link master. The user can write a value to an index, or can have a value read from it.

4.2.1 Product Information

Some parameters contain product information such as the manufacturer’s name, the product name and number, together with a user-specific sensor designation (refer to Table 6, Table of General Information SPDUs).

4.2.2 Parameters

For a description of parameters, refer to Table 6.2, Table of Parameter SPDUs.

4.2.3 Commands

Commands are written to SPDU Index 0x02 (system commands). Refer to Table 6.3 Table of System Commands.

4.2.4 Saving Modifications

Modification of parameters either by direct overwriting or by a command don’t have to be saved explicitly. They remain automatically valid also after a restart.
Loading...
+ 12 hidden pages