RESTful interface for WinCC OA?

Find and share HowTos to various installations / configurations!
5 posts • Page 1 of 1
fandersen
Posts:51
Joined: Tue Aug 26, 2014 12:39 pm

RESTful interface for WinCC OA?

Post by fandersen »

Hello,

does somebody know if there is a RESTful interface for WinCC OA to query DP status with a simple HTTP-GET request?

E.g.

http://yourserver/get_value?some_dp/alarms/limitswitch


Cheers,
Florian

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: RESTful interface for WinCC OA?

Post by leoknipp »

Hello,

in WinCC OA a HTTP-server functionality is available.
For details please have a look at the online help: Special functions --> HTTP Server.

Best Regards
Leopold Knipp
Senior Support Specialist

fandersen
Posts:51
Joined: Tue Aug 26, 2014 12:39 pm

Re: RESTful interface for WinCC OA?

Post by fandersen »

Thanks, that's what I was looking for. Just creating a simple webpage with a placeholder for the dpe parameter and as a result you get e.g. the actual value which you can process further.

kilianvp
Posts:443
Joined: Fri Jan 16, 2015 10:29 am

Re: RESTful interface for WinCC OA?

Post by kilianvp »

Helps tells me POST is supported but i cant find a example how to use it

mkoller
Posts:741
Joined: Fri Sep 17, 2010 9:03 am

Re: RESTful interface for WinCC OA?

Post by mkoller »

It is explained in "httpConnect". You register your callback with httpConnect() and this gets called when it receives a POST message where data is passed to the callback.

5 posts • Page 1 of 1