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