Skip to main content

IFM IO-Link Connectivity


Overview

IFM IO-Link Kit

IFM IO-Link master block and sensors. MachineMetrics partners with IFM to connect IO-Link conforming sensors for temperature, pressure, flow, vibration, and other process data collection.

MachineMetrics partners with IFM to provide seamless connectivity to a wide range of IO-Link sensors for industrial data collection. This integration allows you to connect temperature sensors, pressure sensors, flow meters, vibration sensors, and many other smart sensors to capture real-time process data from your production environment.

Key Features:

  • Connect any IO-Link conforming sensor to MachineMetrics
  • Automatic sensor discovery and configuration
  • Support for IFM IO-Link master blocks with IoT ports
  • Real-time data collection from multiple sensors
  • Cross-manufacturer sensor compatibility (IO-Link standard)

Partnership with IFM:

MachineMetrics has a strategic partnership with IFM to enable connectivity to their extensive portfolio of industrial sensors. All IFM IO-Link sensors are supported through this integration.


IO-Link is an open industrial communication protocol standard (IEC 61131-9) that enables intelligent sensors and actuators to communicate with control systems and gateways.

Key Characteristics:

  • Device Protocol: Standardizes data exchange between sensors and gateway devices (master blocks)
  • Vendor Neutral: Sensors from different manufacturers are cross-compatible with any IO-Link master block
  • Point-to-Point Communication: Each sensor connects to a port on the master block
  • Bidirectional: Supports both data collection and sensor configuration

What IO-Link is NOT:

  • NOT a data contextualization standard (like MTConnect)
  • NOT a standardized communication protocol between master block and external applications
  • ❌ Because of this, MachineMetrics support is limited to specific master blocks

How It Works:

  1. Sensors connect to individual ports on the IO-Link master block
  2. Master block communicates with sensors using IO-Link protocol
  3. Master block exposes sensor data via its own protocol (IoT, EtherNet/IP, Modbus, etc.)
  4. MachineMetrics Edge connects to the master block to collect sensor data

Supported Devices

Master Blocks

MachineMetrics currently supports:

✅ IFM Master Blocks with IoT Data Port

  • IFM AL1350 (IO-Link master, 8 ports, IoT interface)
  • IFM AL1352 (IO-Link master, 4 ports, IoT interface)
  • Other IFM blocks with dedicated IoT ethernet port

Important Notes:

  • ⚠️ Not all IFM blocks have an IoT port - Verify your master block model
  • EtherNet/IP-based blocks cannot be supported via our EtherNet/IP integration
  • ⚠️ Modbus-based blocks can be supported as a Modbus integration, but data must be unpacked manually (not recommended) - See Modbus TCP Guide
  • 📝 Additional master block models may be supported in the future

Sensors

✅ All IO-Link Conforming Sensors

The integration supports any sensor that conforms to the IO-Link standard, including but not limited to:

IFM Sensors (Extensive Portfolio):

  • Temperature sensors
  • Pressure sensors
  • Flow meters
  • Level sensors
  • Vibration monitoring sensors
  • Position sensors
  • Distance sensors
  • Humidity sensors
  • Photoelectric sensors
  • Inductive proximity sensors

Other Manufacturers:

  • Balluff sensors
  • Sick sensors
  • ifm electronic sensors
  • Turck sensors
  • Any IO-Link compliant sensor

Prerequisites

Before setting up IO-Link connectivity, ensure you have:

Hardware Requirements:

  • IFM IO-Link master block with IoT port
  • IO-Link sensors (IFM or other manufacturers)
  • Network cable (Cat5e or Cat6) for master block
  • MachineMetrics Edge device on the same network
  • Appropriate M12 cables for sensor connections

Network Requirements:

  • Available static IP address on your network
  • Network switch or router with available port
  • Ethernet access between Edge device and master block

Software Requirements:

Access Requirements:

  • Physical access to install master block and sensors
  • Network configuration permissions
  • Knowledge of sensor mounting locations

Device Setup

IFM Master Block Configuration

Step 1: Physical Installation

  1. Mount the IFM master block on DIN rail or suitable location
  2. Connect power supply to master block (24V DC typical)
  3. Verify power LED illuminates

Step 2: Identify IoT Port

IFM master blocks support multiple protocols on different physical ports:

  • IoT Port - Required for MachineMetrics integration (Ethernet with RJ45)
  • EtherNet/IP Port - NOT compatible with this integration
  • Modbus Port - NOT recommended (requires manual configuration) - See Modbus TCP Guide if needed

Critical: Ensure you connect the IoT port (not EtherNet/IP or Modbus port) to your network.

Step 3: Connect to Network

  1. Connect network cable from the IoT port to your network switch
  2. Verify link lights on Ethernet port are active

Network Configuration

Step 1: Install IFM Configuration Software

  1. Download IFM's configuration software from: https://www.ifm.com/us/en/category/095_010_010
  2. Install on a PC connected to the same network
  3. Launch the configuration tool

Step 2: Discover Master Block

  1. Open IFM configuration software
  2. Click Scan or Discover Devices
  3. Locate your master block in the list (note MAC address if multiple devices)

Step 3: Assign Static IP Address

  1. Select your master block in the configuration software
  2. Navigate to Network Settings or IoT Port Configuration
  3. Set IP Configuration to Static (Manual)
  4. Enter network information:
    • IP Address: (e.g., 192.168.1.150)
    • Subnet Mask: (e.g., 255.255.255.0)
    • Gateway: (e.g., 192.168.1.1)
  5. Click Apply or Write Configuration
  6. Document the IP address for MachineMetrics configuration

Step 4: Verify Configuration

  1. Disconnect configuration PC
  2. Reconnect to network
  3. Verify master block is accessible at the assigned IP address
  4. Test with ping:
ping 192.168.1.150

Sensor Port Configuration

Step 1: Set Port Operating Modes

IFM master blocks allow individual port configuration:

  1. In IFM configuration software, navigate to Port Configuration
  2. For each port you'll use, set mode to IO-Link
  3. Other modes (Digital Input, Digital Output) will not work with this integration

Step 2: Connect Sensors

  1. Connect IO-Link sensors to master block ports using M12 cables
  2. Ports are numbered (typically Port 1 - Port 8 or Port 1 - Port 4)
  3. Document which sensor is connected to which port

Step 3: Verify Sensor Detection

  1. In IFM configuration software, view Port Status
  2. Verify each connected sensor shows:
    • Status: Connected or Active
    • Vendor ID: Numeric identifier for manufacturer
    • Device ID: Numeric identifier for sensor model
  3. Note the Vendor ID and Device ID for each sensor (useful for troubleshooting)

MachineMetrics Configuration

Automatic Configuration

In most cases, the IO-Link integration will automatically configure itself based on IODD (IO Device Description) files.

Step 1: Add Machine in MachineMetrics

  1. Log into MachineMetrics at app.machinemetrics.com
  2. Navigate to AssetsMachines
  3. Click Add Machine
  4. Enter machine/sensor details:
    • Name: (e.g., "Hydraulic-Press-Sensors" or "Assembly-Station-01")
    • Type: (Select appropriate type or "Sensor Station")
  5. Click Next

Step 2: Select IO-Link Integration

  1. In Data Collection Method, select IO-Link or IFM IoT
  2. If not visible, contact MachineMetrics support

Step 3: Enter Master Block IP Address

  1. Enter the IFM master block's IP address (e.g., 192.168.1.150)
  2. The connector will automatically discover connected sensors

Step 4: Save and Test

  1. Click Test Connection
  2. MachineMetrics will:
    • Connect to the master block
    • Discover connected sensors
    • Automatically create data items for each sensor
  3. If successful, click Save

Note: The IO-Link connector automatically discovers and configures sensors. No manual adapter script configuration is required.

Data Item Naming Convention

Automatically-configured sensors produce data items with a specific naming structure:

Format:

iolink_p<n>_<vendorid>_<deviceid>_<subindex>_<shortname>

Components:

  • <n> - Port number (1-8 or 1-4, depending on master block)
  • <vendorid> - Manufacturer's vendor ID
  • <deviceid> - Specific device/model ID
  • <subindex> - Data item index within sensor's process data (starts at 1)
  • <shortname> - Truncated, processed display name for identification

Example: IFM Humidity Air Sensor

IFM humidity/temperature sensor (Vendor ID: 310, Device ID: 1337) connected to Port 2:

iolink_p2_310_1337_1_humidity
iolink_p2_310_1337_2_temperature
iolink_p2_310_1337_3_devicestatus

Explanation:

  • p2 - Connected to Port 2
  • 310 - IFM vendor ID
  • 1337 - Humidity sensor device ID
  • 1, 2, 3 - Sub-indexes for different measurements
  • humidity, temperature, devicestatus - Shortened names

Data Transformation

The IO-Link connector uses automatic sensor discovery and configuration. Manual configuration of process data, bit offsets, gradients, and offsets is not required.

If you need to transform or manipulate the IFM data items to solve your specific use case, use transform adapter scripts to process the automatically discovered data items.

See the Transform Adapter Scripts Guide for information on:

  • Renaming data items
  • Applying mathematical transformations
  • Combining multiple data items
  • Creating custom variables from sensor data

Connecting Sensors

Step 1: Plan Sensor Placement

  1. Identify measurement points on your equipment
  2. Determine appropriate sensor types for each point
  3. Plan cable routing from sensors to master block

Common Use Cases:

ApplicationSensor TypeExample IFM Models
Hydraulic PressurePressure SensorPN, PT series
Coolant TemperatureTemperature SensorTN, TA series
Air Flow RateFlow SensorSM, SD series
Tool VibrationVibration SensorVSE, VSP series
Part PositionDistance SensorO1D, O5D series
Coolant LevelLevel SensorLR, LK series
Spindle TemperatureTemperature SensorTN series

Step 2: Mount Sensors

  1. Install sensors at measurement points
  2. Follow manufacturer's installation guidelines
  3. Ensure proper orientation (especially for flow sensors)
  4. Verify sensor is within operating range

Step 3: Connect M12 Cables

  1. Use appropriate M12 cables (4-pin or 5-pin depending on sensor)
  2. Connect sensor M12 connector to cable
  3. Route cable to master block location
  4. Connect cable to master block port

Step 4: Label Connections

Document each connection:

  • Port number
  • Sensor type
  • Measurement location
  • Cable routing

Data Mapping

Step 1: Verify Data Collection

  1. Navigate to machine page in MachineMetrics
  2. Go to Diagnostics tab
  3. Verify data items are populating with values
  4. Check data item names match expected format

Step 2: Configure Data Mapping

  1. Go to Machine SettingsData Mapping tab
  2. Map IO-Link data items to MachineMetrics data types:

Example Mappings:

IO-Link Data ItemMachineMetrics TypeSubtype
iolink_p1_310_1337_1_humiditySAMPLECustom (Humidity %)
iolink_p1_310_1337_2_temperatureSAMPLETEMPERATURE
iolink_p2_310_2001_1_pressureSAMPLEPRESSURE
iolink_p3_310_2500_1_flowSAMPLECustom (Flow Rate)
  1. Set appropriate Component (Machine, Coolant, Hydraulic, etc.)
  2. Add display names if needed
  3. Click Save

Step 3: Configure Units (If Needed)

  1. Note the units for each sensor from datasheet
  2. Include units in display names if not automatically included
  3. Example: "Coolant Temperature (°C)" or "Hydraulic Pressure (bar)"

Step 4: Set Up Alerts (Optional)

  1. Navigate to Automations & Workflows
  2. Create alerts based on sensor thresholds:
    • High temperature warnings
    • Low pressure alerts
    • Vibration limit notifications

Troubleshooting

Connection Issues

Problem: Cannot Connect to Master Block

Possible causes:

  • Incorrect IP address
  • Network connectivity issue
  • Wrong port used (IoT port vs EtherNet/IP port)
  • Firewall blocking communication

Solutions:

  1. Verify IP address is correct (check IFM configuration software)
  2. Test network connectivity with ping
  3. Verify IoT port is used (not EtherNet/IP or Modbus port)
  4. Check that IoT port is assigned static IP
  5. Verify Edge device and master block are on same network/subnet

Problem: Intermittent Connection

Possible causes:

  • Network instability
  • DHCP IP address changing (if not static)
  • Cable issues

Solutions:

  1. Use static IP address (not DHCP)
  2. Check network cable quality
  3. Verify network switch port is functioning
  4. Monitor network latency with continuous ping

Sensor Detection Issues

Problem: Sensors Not Detected

Possible causes:

  • Sensor not properly connected
  • Port not set to IO-Link mode
  • Incompatible sensor
  • Faulty cable

Solutions:

  1. Verify sensor connection (check M12 connector)
  2. Check port mode in IFM configuration software (must be IO-Link)
  3. Verify sensor is IO-Link compatible (check datasheet)
  4. Test with different M12 cable
  5. Try sensor on different port

Problem: Sensor Detected But No Data

Possible causes:

  • IODD file not found
  • Sensor in error state
  • Process data configuration incorrect

Solutions:

  1. Check MachineMetrics adapter logs for IODD errors
  2. Verify sensor status LED (if present)
  3. Check sensor configuration in IFM software
  4. Try manual configuration with sensor datasheet
  5. Contact MachineMetrics support for IODD file availability

Data Issues

Problem: Data Values Incorrect

Possible causes:

  • Missing or incorrect gradient/offset
  • Wrong data type (int vs uint)
  • Incorrect bit offset or length

Solutions:

  1. Verify gradient and offset from sensor datasheet
  2. Check data type matches sensor specifications
  3. Review manual configuration for typos
  4. Compare raw values in IFM software vs MachineMetrics
  5. Apply correct scaling factors

Problem: Data Items Not Appearing

Possible causes:

  • Auto-configuration failed
  • IODD file unavailable
  • Data items not exported

Solutions:

  1. Check adapter logs for errors
  2. Verify IODD file exists for your sensor
  3. Try manual configuration
  4. Ensure data-items list includes sensor names
  5. Check if sensor is in IODD library

Master Block Issues

Problem: Master Block Not Responding

Possible causes:

  • Power loss
  • Network configuration lost
  • Firmware issue

Solutions:

  1. Check power supply to master block
  2. Verify power LED is illuminated
  3. Reconfigure network settings with IFM software
  4. Reset master block to factory defaults (last resort)
  5. Update master block firmware if available

Additional Resources

MachineMetrics Resources:

IFM Resources:

IO-Link Standard:

Related Guides:


Getting Help

MachineMetrics Support:

Before Contacting Support:

  1. Note IFM master block model number
  2. Document connected sensor models and port numbers
  3. Verify network configuration (IP address, connectivity)
  4. Capture screenshots of IFM configuration software
  5. Note Vendor ID and Device ID for problematic sensors
  6. Check adapter logs in MachineMetrics

Information to Provide:

  • IFM master block model and firmware version
  • List of connected sensors (make, model, port number)
  • Network configuration (IP address, subnet, gateway)
  • Adapter configuration (YAML)
  • Description of issue and troubleshooting steps taken
  • Screenshots of IFM software showing sensor status

For IODD Issues:

  • Provide Vendor ID and Device ID
  • Note sensor manufacturer and model number
  • Include sensor datasheet (if available)
  • Describe expected vs actual data values