Guys thank you very much for all your help, I figured what the problem was, I made a command in my plc to send the data through the serial port. Now it warks, sort off.
My new problem is that whatever the plc is sending me the computer can not understand it, as if it is not sending me 0's and...
Hi, I need help with visual basic 6 program or hardware of plc. I am trying to get vb6 program to read serial port that my plc s7-200 CPU 222 is conected to. I can not get the program to read anything at all. My code is (in vb6):
Private Sub cmdOpen_Click()
'opening the serial port
If...
Hi, I need help with visual basic 6 program or hardware of plc. I am trying to get vb6 program to read serial port that my plc s7-200 CPU 222 is conected to. I can not get the program to read anything at all. My code is (in vb6):
Private Sub cmdOpen_Click()
'opening the serial port
If...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.