The ball float project is a demonstration of industrial control systems with an emphasis on IO-link. It features a Siemens S7-1200 PLC with a PROFINET connection to a SICK IO-Link master which is then connected to three IO-Link enabled devices. Together these elements form an interactive display where the user can adjust the height of a ping pong ball floating in a tube as shown in Figure 1.
This article is part of the DigiKey Field Guide for Industrial Automation
Location: Showcase It → DigiKey Projects
Difficulty:
Student— difficulty levels explained
Last update: 15 Jun 2026
Figure 1: Image of the ball float project on an A-frame.
Project Highlights
The section provides a high-level introduction to the technology featured on the DigiKey demo.
- The user interacts with the project using slide control to control the position of the ball within the tube. The screen capture for the HMI is shown in Figure 2.
- A fan is used to provide a column of air for the ball. This fan is driven by a Pulse Width Modulation signal from the PLC.
- The IO-Link driven LED strip highlights the ball position.
- The user can enter can enter text messages into the Siemens HMI to be displayed on the top mounted text display.
Figure 2: Image of the HMI control window.
Control Algorithm
This project implements a classic Proportional Derivative Integral (PID) control system.
- The user provides the desired setpoint via the HMI.
- The distance sensor provides the feedback indicating ball height in the tube.
- A Siemens designed PID performs the internal calculation
- The PID drive is sent to the fan which controls ball height.
- Automatic tuning was used to set the PID control parameters.
- The HMI displays the input, feedback, and plant drive signals.
Networking
-
IO-Link is used to connect the text display, the distance sensor, and the LED strip. These are connected to the IO link master as ports S2, S4, and S6 respectively
-
The PROFINET protocol is used to communicate between the PLC, HMI, and IO Link master. A unmanaged switch is used for the Ethernet connections.
Featured DigiKey Products
These products define the core architecture of the IO-Link Ball Float demonstration and illustrate how a modern PLC-based system senses, communicates, and responds in real time.
-
Siemens S7-1200 PLC Gen 2 PLC (CPU 1214C): The PLC serves as the central controller for the demonstration. It hosts the PID logic, exchanges data over PROFINET, and coordinates the HMI and IO-Link devices.
- Latest addition to Siemens S7-1200 family.
- Expandable with local modules, IO-Link, and distributed I/O such as the ET 200SP
- Note the quick disconnect terminal blocks for local I/O
- Native PROFINET
- Near Field Communication allowing a cell phone to read diagnostic data
-
SICK SIG300 IO-Link master (PROFINET): The SIG300 forms the bridge between the PLC and the smart field devices. It is the key networking element that allows the demo to showcase practical IO-Link integration.
- PROFINET to IO-Link
- Three styles of ports including 2-wire Class-A1, 3 wire Class-A2, and high current Class-B (up to 4 A per M12 connector).
- USB programmed or controlled from PLC
- IP67
-
SICK W10 Distance Sensor: This sensor provides the feedback signal for the control loop by measuring the ball position within the tube.
- IO-Link enabled
- Red laser pointer
- 50 to 250 mm distance detection
- Cyclic data transfer to the PLC via the SIG300
-
Banner SD50 Status Display: The SD50 gives the demo an operator-facing output, allowing text and status information to be displayed directly from the control system.
- IO-Link enabled
- Cyclic update
- Change text on the fly
-
E-T-A Solid State Circuit Breaker: The electronics circuit breaker protects the demo’s 24 VDC control system while giving the project a visible, industrial-grade layer of electronic protection.
- Semiconductor-based current limiting
- Near instantaneous response (no thermal or magnetic delay)
- Slide switch adjustable current limit
- LED status display
Supporting DigiKey TechForum Material
Learn more about the technology by exploring these closely related articles.
-
Thermal PID on a Siemens S7-1200: This engineering brief introduces the Siemens PID Technical Object (TO). A simple thermal system is used to demonstrate the configuration and automatic tuning.
-
Required Files for IO-Link: Explore the system-level configuration of IO-Link using the Siemens PLC, SICK IO-Link master, and SICK W10 distance sensor.
-
Getting Started with the Banner’s SD50 Status Display with IO-Link: Initial configuration for the Banner SD50 IO-Link
-
How to Clear SIG300 Errors: This checklist identifies many of the lessons learned when integrating IO-Link master.
-
Misconceptions in Industrial IO-Link Setup: Explore common misconception revolving around the M12 connectors and general IO-Link hardware.
Parts List
Project components available from DigiKey:
-
Transit block
-
87141882 - KDL/H-VA-FDA 24/12 STAINLESS HOUSING - Murrplastik Systems, Inc.
-
87141716 - FRAME GROMMET SPLIT TPE BLUE - Murrplastik Systems, Inc.
-
87141770 - FRAME GROMMET SPLIT TPE BLUE - Murrplastik Systems, Inc.
-
Ethernet switch
-
Cables
-
T4171010005-002 - CIRC CBL 5POS PLUG TO WIRE 1.64’ - TE Connectivity AMP Connectors
-
TAD14145101-001 - CIRC CBL 4POS RCPT TO WIRE 1.64’ - TE Connectivity AMP Connectors
-
1552200064 - CABLE 4COND 22AWG BLACK METER - Molex
-
1425009 - CIRC CBL 5POS RCPT TO PLUG 0.98’ - Phoenix Contact
-
1329935 - CIRC CBL 5POS PLUG TO WIRE 3.28’ - Phoenix Contact
-
1699850 - CIRC CBL 4POS RCPT TO PLUG 3.28’ - Phoenix Contact
-
1414772 - CIRC CBL 5POS PLUG TO WIRE 4.92’ - Phoenix Contact
-
1513910 - CIRC CBL 5POS RCPT TO PLUG 6.56’ - Phoenix Contact
-
2106182 - PUR/2*2*0,34/GN/SH - SICK, Inc.
-
09454521509 - CABLE MOD 8P8C JACK-PLUG 3.28’ - HARTING
-
1251610010 - CABLE MOD 8P8C PLUG-PLUG 3.28’ - Weidmüller
-
Additional Supporting Parts
-
9GA0424P3J0011 - FAN AXIAL 40X28MM 24VDC WIRE - Sanyo Denki America Inc.
-
1827729 - TERM BLOCK PLUG 4POS 3.81MM - Phoenix Contact
-
1551671 - CONN ADAPTER 5P-5P F-M PNL MNT - Phoenix Contact
-
1829361 - TERM BLK 4POS GREEN - Phoenix Contact
-
1404983 - NUT JAM STEEL M16X1.5 - Phoenix Contact
-
3211431 - COMPONENT TERMINAL BLOCK CROSS - Phoenix Contact

