Flow meter with IO-Link