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
RESTful interface for WinCC OA?
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: RESTful interface for WinCC OA?
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
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?
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?
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?
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.