I have an old mitsubishi PLC model (FX1s-24MR). I have a task to control and monitor its inputs/outputs using LabVIEW. I had successfuly done this using IA OPC server. But i also need to communicate via Serial RS-232.
Now i am in the verge of studying its command protocols, but then I am hoping if someone there has already have a LV program for communicating Mitsubishi FX via RS-232, it will be greatly appreciated (it will save my time a lot)!
thanks in advance!
There is a blog that introduce PLC communicate via Serial RS-232. It's Chinese, so I am not sure your computer can display or not. If yes, you can press "回應" to ask source code. Wish this can help you.
I cannot access your provided link (maybe because our private network is highly protected, so they blocked such sites like this).
There is a source code file. However, it named in Chinese, but I think when you see source code you know how to use it. Good luck.
Thank you so much. I had a chinese friend here so we can handle this part. just another question, Can I communicate to Mitsubishi PLC with having the MX component? have you tried this before?
whew... it seems like the source code provided was not following the command protocol of my FX1s mitsubishi (FX2N neither!) based on the mitsubishi manual. its lacks many things like station #, PLC #, command protocols, etc.
I didn't have many experinces about PLC and the source code is written by another person. In his blog, he said it works fine in FX2N, so I think you may modify the source code to meet what you need.
as far as I knew, the FX2N and FX1s share the same command protocols (based on what i read in the manual).
I really appreciate your great effort on this. thanks anyway. as of now, I kept studying its command protocol.