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 program for send and receive data from Mitsubishi Q series PLC to my 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
Updated 26-Jul-22 3:11am

1 solution

Google has lots of useful links: serial port communication - Google Search[^]
Share this answer
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