Re: read from serial port
what version of vb are you using? are you saying the device sends (in hex) this
3AC
Re: read from serial port
I am using vb.net 2005
The header byte &H3A is supposed to be ":"
and then it sends C which means i think it sends ":C"
Re: read from serial port
what does "The header byte &H3A... " mean? does the device send on a periodic basis?
Re: read from serial port
Sorry but i am also not very sure about that but i think that the plc must send the header byte as to inform when the string starts.&H3A is like a short code for the simbol ":" And also if the plc does not send continuosly does it mean i must change the plc program to constantly send the string in order for my vb program to work?
Re: read from serial port
you really need to know the protocol of the PLC device. if you need to interrogate the device or not, when it sends, what it sends, what it means, etc.
ascii codes