MMS communication between two applications
I have problem with MMS communication between 2 applications. I application1 a have one global variable e,g signal1.
In Access variable i have variable with name MMS_signal1 and path is Application1.signal1
In Aplicattion2 whre i want to read variable global1 i have in global variable with same name signal1. In Application2 i have MMS connect and MMS read cycle . In MMS read i defined VARName1 string MMS_signal1 and for RD1 i put signal1.
After download i have and error on MMS read Cyc -461 and that means - Variable is not defined as global at remote node or program does not exist
Thanks for your help
OK, it sounds like you have configured things correctly. (MMS is actually quite simple but it is easy to make it over complicated. Keeping the variable names the same on both sides of the link makes troubleshooting much much easier)
If this is the First download after creating a new Global Variable then yes, Comms may not start correctly if the En_C parameter of the Read Cyclic is set to True. This can happen if the ReadCyc program is created and started before the Global Variable is created in the partner application. The problem can be resolved by downloading again, as pointed out by the previous answser, or by toggling En_C on the ReadCyc.
Note, the En_C should only be set "True" if the MMS_Connect is Valid and not Error.