J
According to the information I downloaded from the Siemens website and S7 help (Please refer to file "HELP Socket.doc").
I create my own VB program to open port 8101 and I successfully get connection from PLC (connection status 'established' display in NETPRO
when I online).
Then I tried using AG_LSEND and AG_LRECV from PLC. To send / received data from my VB application. It's never successful, even though both of the party display socket status "connection established" (Please refer to file "Socket Communication between VB and S7315.doc")
What I want to achieve is direct socket communication between PLC and Computer, please advise. I don't know whether I'm on the right track?
thanks
best regards
jeet
I create my own VB program to open port 8101 and I successfully get connection from PLC (connection status 'established' display in NETPRO
when I online).
Then I tried using AG_LSEND and AG_LRECV from PLC. To send / received data from my VB application. It's never successful, even though both of the party display socket status "connection established" (Please refer to file "Socket Communication between VB and S7315.doc")
What I want to achieve is direct socket communication between PLC and Computer, please advise. I don't know whether I'm on the right track?
thanks
best regards
jeet