Capacitive sensors with IO-Link