You are here: Technical References > Remote Access to PLC Variables > HTTP Interface for Reading PLC Variables > HTTP Command for Reading PLC Variables

HTTP Command for Reading PLC Variables

The format for the write variable is as defined below:

GET kas/plcvariables?variables=<var1>,<var2>,…&format=<MIME Type>

Query string parameter values:

Parameter Value
variables The variables to be read, separated by commas.
format (optional)

The format (in MIME Type) of the response body. Supported MIME Types:

  • JSON
  • text

Example:

GET kas/plcvariables?variables=TravelSpeed,MachineSpeed&format=json

 

HTTP Response — Text Format

HTTP Response — JSON Format


Stay Connected with Kollmorgen

Copyright © 2015 Kollmorgen™