UDP simulation

MKTB

Level-1
Beiträge
8
Reaktionspunkte
0
Zuviel Werbung?
-> Hier kostenlos registrieren
Hello everybody,
I am trying to build a UDP connection between two PC in simulation mode with Codesys 3.5?!
Does anyone know if it is possible at all in simulation mode?! if yes, then what should I give as a port number and Ip address in the UDP connection?!
I appreciate you for any ideas,

Best regards,

Mohsen
 
Hi Mohsen,
Not in Simulation, but every CODESYS Setup install a local plc - Control Win (or Control Win x64 on 64Bit CODSYS). You could start this plc by rightclick in the tasktray and download your UDP application -
There is an example application here:

Regards
 
Zuletzt bearbeitet:
Zuviel Werbung?
-> Hier kostenlos registrieren
Hi Edwin,
Thanks a lot, it works!
But there is a small problem, there is a time delay to actualize the values( around 20 - 30 S), is it normal for a UDP connection?
Regards,
Mohsen
 
Zuletzt bearbeitet:
Zurück
Oben