ifm IO-Link Master / "sensorconnect"
Last updated
Last updated
The SensorConnect plugin facilitates communication with ifm electronic’s IO-Link Masters devices, such as the AL1350 or AL1352 IO-Link Masters.
It also supports EIO404 Bluetooth mesh base stations with EIO344 Bluetooth mesh IO-Link adapters. It enables the integration of sensor data into Benthos pipelines by connecting to the device over HTTP and processing data from connected sensors, including digital inputs and IO-Link devices. The plugin handles parsing and interpreting IO-Link data using IODD files, converting raw sensor outputs into human-readable data.
It was previously known as .
Configuration
Below is an example configuration demonstrating all available options for the sensorconnect plugin. This includes settings for device connectivity, IODD API URLs, and detailed device-specific configurations.
Configuration Options
Device Address
Specifies the IP address of the ifm IO-Link Master device
IODD API
Defines the URL of the IODD API, which is used to fetch IODD files for connected devices. Defaults to https://management.umh.app/iodd
and should not be changed except for development purposes.
Devices
Provides a list of devices to provide for a given device_id and vendor_id, a fallback iodd_url (in case the IODD file is not available via the IODD API).
Output
The payload of each message is a JSON object containing the sensor data, structured according to the data provided by the connected device. The exact structure of the payload depends on the specific sensors connected to the SensorConnect device and the data they provide.
Example for a VVB001 vibration sensor:
Metadata Outputs
For each read operation, the plugin outputs detailed metadata that includes various aspects of the read operation, which can be utilized to effectively tag, organize, and utilize the data within a system.
Below is the extended metadata output schema provided by the plugin:
sensorconnect_port_mode
The mode of the port, e.g., digital-input or io-link.
sensorconnect_port_number
The number of the port on the ifm IO-Link Master device.
sensorconnect_port_iolink_vendor_id
The IO-Link vendor ID of the connected device (if applicable).
sensorconnect_port_iolink_device_id
The IO-Link device ID of the connected device (if applicable).
sensorconnect_port_iolink_product_name
The product name of the connected IO-Link device (if applicable).
sensorconnect_port_iolink_serial
The serial number of the connected IO-Link device.
sensorconnect_device_product_code
The product code of the connected IO-Link device.
sensorconnect_device_serial_number
The serial number of the connected IO-Link device