Hello,
I have a problem to connect the mx opc server 6.05 with machines simulator.
I tried samething as in the video.
https://www.youtube.com/watch?v=d1F4y92g6AQ (https://www.youtube.com/watch?v=d1F4y92g6AQ)
but, I can not connect machines simulator3, and I see this error "Null Reference Exception : object reference not set to an instance of an object"
I used Machines Simulator3 Version 3.7
Please, help me :'(
Hello!
I have tested and works perfectly!
In order to aviod problems with libraries you must to conenct the OPC driver using EasyPLC instead Machines Simulator directly.
Please be sure you have updated your EasyPLC OPC Driver enhaced, download and update here: http://nirtec.com/forum/index.php?topic=443.0 (http://nirtec.com/forum/index.php?topic=443.0)
Once updated, create a new Machines Simulator interface program in EasyPLC, then configure the driver same as indicated in the video, and configure the interchange signals between Mx OPC server and Machine Simulator in the interface program.
Then launch Virtual PLC CPU and Machines Simulator and teh communicaton will be made!
Hope this help you.
Thank you very much!
I solved problem to connect MX opc server 6.05 with machines simulator3!
I tried samething as your answer.
I tested connection between MX OPC and EasyPLC.
and, I programmed I/O connection between machines simulator3 I/O and MX OPC I/O in EasyPLC.
Thank you!
Great, happy to help you!
But I recommend you to use the Machines Simulator Interface Program when you select the project type creating a new EasyPLC Program (see EasyPLC_1.jpg).
Then is very easy to assign the I/O signals between the OPC Driver and Machines Simulator without writing code (see EasyPLC_2.jpg)
Regards
Hmm...
I can not use interface.
I tried that, EasyPLC show me this.
"Error in Driver : Object reference not set to an instance of an object"
so, I programmed main, for connecting between MX OPC and Machines simulator3.
Be sure you're using the last EasyPLC release version [equal to or greater than v. 5.9.8] available here: http://www.nirtec.com/index.php/plc-software-download/ (http://www.nirtec.com/index.php/plc-software-download/)
Ohh... All My Mistake.
I used EasyPLC Version 5.9.3 in my license USB
Thank you, Your advice made me better than before.