Skip to main content

Kollmorgen Support Network

KAS Interface Using http Request Programmed in VB2008 | 27 Jul 2016 | |

KAS Interface Using http Request Programmed in VB2008

The following utility provides a connection between KAS and a standard windows platform using http requests, programmed with visual basic 2008. The KAS remote variable access with the standard pipe network SFC demo is used to demonstrate the possibilities.

The application contains the following functionality:

  • Reading variables e.g. http://127.0.0.1/kas/plcvariables?variables=Axis1Status&format=json
  • Writing variables e.g. http://127.0.0.1/kas/plcvariables?&format=json { "bEstop" :{"value" : "1"} }
  • Reading KAS application status information and start an application from remote

image

 

For more detailed information of the used functionality consult the KAS webhelp or attached documentation.

http://kdn.kollmorgen.com/webhelp/kas/#AdvancedTopics/ReadWritePLCVars/ReadWritePLCVars.htm

http://kdn.kollmorgen.com/webhelp/kas/#AdvancedTopics/HTTP_basic.htm

About this Article

Martin Rupf