So I need to find a way for a Mitsubishi PLC to communicate with a PC - ideally sending a binary number through ethernet to a PC program that reads it and tells the PC which files to open.
I think I can create the PC program with C++ or Visual Basic without too much struggle. But I am unsure of how to get that binary ID from the PLC and into the PC program. I have done a little bit of research on MX Component and MX Sheet, and also MC Protocol but all seem a bit outdated and/or just over my head and I need some better explanation - I'm pretty new to PLC and programming. I feel like it shouldn't be terribly difficult to get 1 external binary number into a PC program. I'm sure someone has done essentially the same transfer and I just want some ideas.
-What kind of connection support do I need to transfer data (Likely just a D-bit) from a PLC to PC?
-How would that/those bit(s) be accessed in Visual Basic or C++? I'm assuming some type of library function that will call the value