Convertor between plc and pc built into serial communication line