EasyManuals Logo
Home>Advantech>Control Unit>ADAM-6256

Advantech ADAM-6256 User Manual

Advantech ADAM-6256
192 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #186 background imageLoading...
Page #186 background image
ADAM-6200 User Manual 180
C.1 Introduction
REpresentational State Transfer (REST) is a design style of software architecture for
Web application behaves and services including image indication, resource request
and response and message delivery. It can be developed compatible with popular
protocols or standards like HTTP, URI, XML, HTML. With the advantage of scalability,
simplicity and performance, it's already adopted in Web service by Amazon, Yahoo.
The Web service of ADAM-6200 is developed based on HTML5 language, if user
need to integrate this into other Web services, the following information/command list
should be referred for implementation.
C.2 REST Resources for ADAM
C.2.1 Analog Input
C.2.1.1 GET /analoginput/(all|{id})/value
Request
Thecontenttypewillbeapplication/xwwwformurlencoded’.
{id}:istheAIchannelIDstartingfrom0
Examples:
UsethefollowingURItogettheAI0value.
http://10.0.0.1/analoginput/0/value
UsethefollowingURItogettheallAIvalues.
http://10.0.0.1/analoginput/all/value
Response
The content-type will be ‘text/xml’
IfresultisOK,thecontentwilllooklikebelow
<?xml version="1.0" ?>
<ADAM-6217 status=”OK”>
<AI>
<ID>0</ID>
<
VALUE>FFFF</VALUE>
</AI>
</ADAM-6217>
Ifresultisfailed,thecontentwilllooklikebelow
<?xml version="1.0" ?>
<ADAM6217status=”{error}”>
</ADAM-6217>
{error}:Theerrormessage.
Remarks
Ifthe{id}isoutofrange,theresponsewillreturnHTTPstatuscode501
(Notimplemented)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Advantech ADAM-6256 and is the answer not in the manual?

Advantech ADAM-6256 Specifications

General IconGeneral
BrandAdvantech
ModelADAM-6256
CategoryControl Unit
LanguageEnglish

Related product manuals