Hi! Does any one of you know how to send 'request to send' to PLC by using MSCom32? Or how to send an output by using MScomm control in ASCII form? Thanks for viewing and big thanks for your help!!!
Regards, Jesse ;)
Printable View
Hi! Does any one of you know how to send 'request to send' to PLC by using MSCom32? Or how to send an output by using MScomm control in ASCII form? Thanks for viewing and big thanks for your help!!!
Regards, Jesse ;)
I am also new to MSComm control. I can tell you what I know so far.
Set the comport property to the port you want to use, settings property in the format:
baud rate, parity, data bits, stop bits
Eg: MSComm1.Settings = "9600, e, 7, 2"
and then set the PortOpen property to true.
You can send text to a remote terminal by setting the Output property. You can receive data by reading the Input property.
Thats all I know. Let me know if anything new turns up.
Many PLCs can be fooled into a request to send by tying the
CTS and RTS line together at the PLC end.
Hope this helps.