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 |
Variables: Elements within an array are specified using square brackets, e.g. Foo[3], Bar[3][4], FOOBAR[1,2,3].
Values: String values are enclosed in a single quote, e.g. 'Motion started'.
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
|
Copyright © 2015 Kollmorgen™ |
|