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).
Gepubliceerd voor: Schneider Electric Belgium








Hulp nodig?
Selecteer zelf het juiste product
Vind snel en eenvoudig de juiste producten en toebehoren voor uw toepassingen.
Offerte aanvragen
Dien uw aanvraag online in en een expert zal contact met u opnemen.
Verkooppunten
Vind eenvoudig de dichtstbijzijnde distributeur van Schneider Electric op uw locatie.
Help Center
Vind de antwoorden die u nodig heeft via bladeren door veelgestelde vragen over onderwerpen.