i want to make device on and off using visual basic button and communicating with plc 5/30 serial port.I am able to read data from plc serial port to pc visual basic application.but not able to write data from pc to plc.how is this possible. pl give me the ladder logic to read pc.