Page 2 of 2

Re: How to connect WinCC OA with UDP protocol?

Posted: Wed Dec 05, 2018 11:58 am
by Gertjan van Schijndel
Try it with 'udpOpen("10.170.14.100", 4700)', than you should be able to receive messages.

Also your loop will never end, because 'open' is not written by 'udpRead'.

Re: How to connect WinCC OA with UDP protocol?

Posted: Thu Dec 06, 2018 4:28 am
by Kalai123
Thanks for the help.

Now, we able to open the port but not able to get the data from PLC side.

Can you please provide the proper syntax for Udpread() function.

Please find the attachment of the modified program. https://www.winccoa.com/fileadmin/image ... rogram.zip

Re: How to connect WinCC OA with UDP protocol?

Posted: Thu Dec 06, 2018 1:53 pm
by Kalai123
Could you please share me the procedure to set up TCP driver on WinCC OA side.

Re: How to connect WinCC OA with UDP protocol?

Posted: Fri Dec 07, 2018 9:02 am
by Gertjan van Schijndel
Kalaiyarasi Arumugam wrote:
Can you please provide the proper syntax for udpRead() function.
The syntax looks OK, but perhaps the 3 seconds are too short. Try it with setting the 'togglebutton' property of your pushbutton and call updRead as long as the button is toggled.
Could you please share me the procedure to set up TCP driver on WinCC OA side.
The tcp functions work basically the same as the udp functions, but they only allow to be the client.

Why do you want to use open user communication instead of using the S7 driver?

Re: How to connect WinCC OA with UDP protocol?

Posted: Fri Dec 07, 2018 9:53 am
by Kalai123
We want to check the functionality of UDP protocol with WinCC-OA. Actually we want to get connected a WinCC-OA 3.13 system with any other third party devices which are supporting UDP protocol. For now we are having Siemens PLCs in our lab which support UDP protocol, Hence we want to connect the Siemens PLCs with WinCC-OA on UDP protocol.
Please let us know anybody has sample code / example for UDP with WinCC-OA.