Text this: Message scheduling in networked control system rotary inverted pendulum system