G
hello friends, i am trying to send and receive the data from PLC, which has a RS232 port to PC. i connected PLC and PC by using RS232 cable and wrote a five line code in Visual Basic form load, which are as follows (i am using Mscomm object) to display the data which the PLC is sending... private sub form_load() Mscomm1.comport=1 Mscomm1.settings="9600,N,8,1" mscomm1.inputlen=0 Mscomm1.portopen=true Text1.text=Mscomm1.input end sub i neither geting any data or any errors. can any one correct me where i am wrong? expecting the replies..... bye girish