Text this: Data sampling time scheduling based on maximum allowable loop delay for networked control system