Modular measuring device with profinet