You are here: Technical References > Remote Access to PLC Variables > HTTP Interface for Writing PLC Variables > Request and Response Body - Text

Request and Response Body - Text

RequestBody:

<variable1>=<value1>,<variable2>=<value2>,<variable3>=<value3>,…

Parameters:

Parameter Description
<var1>, <var2>,< var3>,… The PLC variable names
<value1>,<value2>,<value3>,... The values of the corresponding variables above

Response Body:

Error1,error2,error3,…

Where error1, error2, error3, etc are the errors occurred while writing to the variable. The errors that can occur are as defined earlier.

Example:

Request:

PUT kas/plcvariables?format=text
MachineSpeed=100.000000,IntegerVar=20,UntitledST.LocalVariable=’SampleString’

Response:

ok,not found,locked

 


Stay Connected with Kollmorgen

Copyright © 2015 Kollmorgen™