Click here to Skip to main content
15,942,710 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
Hello all,
I want to creating a vb.net program for send and receive data from Mitsubishi Q series PLC to my vb.net application through RS232 communication.

Please help me in this regards iam new in serial port communication programming

Sudhir Singh Patyal

What I have tried:

RS232 communication with Mitsubishi Q series PLC and vb.net
Posted
Updated 26-Jul-22 3:11am
v2

1 solution

Google has lots of useful links: serial port communication vb.net - Google Search[^]
 
Share this answer
 
Comments
Sudhir Patyal 26-Jul-22 13:11pm    
But in Google search, no PLC communication procedure is there.
Dave Kreskowiak 26-Jul-22 13:35pm    
It does not matter. Serial communication does not have anything to do with the device on the other end of the cable. This is the "how" of communication and what you need to learn. About the most hardware specific thing you're going to need is what communication parameters are going to be expected by your hardware, such as baud rate, number of data bits, number of stop bits, ...

"What" you send DOES matter, and that's dictated by the hardware. It's unlikely you're going to find examples dedicated to the PLC hardware you're using, so you're going to have to look at lots of samples and consult the documentation of the hardware you're using to see what commands it'll understand and what the expected responses are.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900