![Advantech ADAM-6217 User Manual Download Page 186](http://html1.mh-extra.com/html/advantech/adam-6217/adam-6217_user-manual_2856832186.webp)
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
The
content
‐
type
will
be
‘application/x
‐
www
‐
form
‐
urlencoded’
.
{
id
}
:
is
the
AI
channel
ID
starting
from
0
Examples:
Use
the
following
URI
to
get
the
AI
‐
0
value.
http://10.0.0.1/analoginput/0/value
Use
the
following
URI
to
get
the
all
AI
values.
http://10.0.0.1/analoginput/all/value
Response
The content-type will be ‘text/xml’
If
result
is
OK,
the
content
will
look
like
below
<?xml version="1.0" ?>
<ADAM-6217 status=”OK”>
<AI>
<ID>0</ID>
<
VALUE>FFFF</VALUE>
</AI>
</ADAM-6217>
If
result
is
failed
,
the
content
will
look
like
below
<?xml version="1.0" ?>
<ADAM
‐
6217
status=”
{
error
}
”>
</ADAM-6217>
{
error}
:
The
error
message.
Remarks
If
the
{id
}
is
out
of
range,
the
response
will
return
HTTP
status
code
501
(Not
implemented)
Summary of Contents for ADAM-6217
Page 1: ...User Manual ADAM 6200 Series Intelligent Ethernet I O Module...
Page 7: ...Chapter 1 1 Product Overview...
Page 16: ...ADAM 6200 User Manual 10 1 8 Product Label...
Page 18: ...ADAM 6200 User Manual 12...
Page 19: ...Chapter 2 2 Product Specifications...
Page 22: ...ADAM 6200 User Manual 16 2 2 2 Pin Assignment 2 2 3 Switch Setting...
Page 26: ...ADAM 6200 User Manual 20 Isolated Digital Output ADAM 6250...
Page 28: ...ADAM 6200 User Manual 22 ADAM 6251 ADAM 6256...
Page 32: ...ADAM 6200 User Manual 26 Isolated Relay Output 2 5 2 Pin Assignment ADAM 6260...
Page 33: ...27 ADAM 6200 User Manual Chapter 2 Product Specifications ADAM 6266 2 5 3 Switch Setting...
Page 34: ...ADAM 6200 User Manual 28...
Page 35: ...Chapter 3 3 Hardware Installation...
Page 36: ...ADAM 6200 User Manual 30 3 1 Interface Introduction...
Page 42: ...ADAM 6200 User Manual 36...
Page 43: ...Chapter 4 4 System Configuration...
Page 109: ...103 ADAM 6200 User Manual Chapter 4 System Configuration Rule 1 Rule 2...
Page 128: ...ADAM 6200 User Manual 122...
Page 129: ...Appendix A A I O Modbus Mapping Table...
Page 149: ...143 ADAM 6200 User Manual Appendix A I O Modbus Mapping Table...
Page 150: ...ADAM 6200 User Manual 144...
Page 151: ...Appendix B B ADAM 6200 ASCII Commands...
Page 185: ...Appendix C C REST for ADAM 6200...