Modicon M241/251 and M262 - Ethernet IP : How to communicate with a device (.eds file) that doesn’t support explicit messaging in connected mode?
To be able to start the communication between the M241/251 or M262 controller and the 3rd party device, we first have to stop the connection(s) and disable the Remote Adpater with the following program:
EIPSC.EipControl(i_uiConnId := 257, i_uiControl:= 1); // Stops the connection n°257
DeviceName_RemoteAdapter.DisableRemoteAdapter := TRUE; // FB_RemoteAdapter
And then start the connection(s) by using the EipControl function:
EIPSC.EipControl(i_uiConnId := 257, i_uiControl:= 0); // Starts the connection n°257
See attached sample project (created with SoMachine V4.3).
Publié pour: Schneider Electric Belgium








Besoin d'aide ?
Sélectionnez le bon produit
Trouvez rapidement et facilement les produits et accessoires adaptés à vos applications.
Obtenir un devis
Effectuez une demande de renseignements en ligne et un expert vous contactera.
Où acheter ?
Trouvez facilement le distributeur Schneider Electric local le plus proche.
Centre d'aide
Trouvez des ressources de support pour tous vos besoins, en un seul endroit.