Modifiy plc.c

Porgam run currectly.Every function that uses the "read"function will not be blocked when there's nothing to read within 2 seconds.