I wanted to simulate a networked control system with time delay (controller to plant and plant to controller). I am not getting to make the codes for delay (data transferring) in the code. If anyone has any tutorial or sample code on a networked control system with input and feedback time delay, Please suggest/share.