![Advantech ADAM-6217 Скачать руководство пользователя страница 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)
Содержание ADAM-6217
Страница 1: ...User Manual ADAM 6200 Series Intelligent Ethernet I O Module...
Страница 7: ...Chapter 1 1 Product Overview...
Страница 16: ...ADAM 6200 User Manual 10 1 8 Product Label...
Страница 18: ...ADAM 6200 User Manual 12...
Страница 19: ...Chapter 2 2 Product Specifications...
Страница 22: ...ADAM 6200 User Manual 16 2 2 2 Pin Assignment 2 2 3 Switch Setting...
Страница 26: ...ADAM 6200 User Manual 20 Isolated Digital Output ADAM 6250...
Страница 27: ...21 ADAM 6200 User Manual Chapter 2 Product Specifications ADAM 6256 2 4 2 Pin Assignment ADAM 6250...
Страница 28: ...ADAM 6200 User Manual 22 ADAM 6251 ADAM 6256...
Страница 29: ...23 ADAM 6200 User Manual Chapter 2 Product Specifications 2 4 3 Switch Setting ADAM 6250 ADAM 6251...
Страница 32: ...ADAM 6200 User Manual 26 Isolated Relay Output 2 5 2 Pin Assignment ADAM 6260...
Страница 33: ...27 ADAM 6200 User Manual Chapter 2 Product Specifications ADAM 6266 2 5 3 Switch Setting...
Страница 34: ...ADAM 6200 User Manual 28...
Страница 35: ...Chapter 3 3 Hardware Installation...
Страница 36: ...ADAM 6200 User Manual 30 3 1 Interface Introduction...
Страница 42: ...ADAM 6200 User Manual 36...
Страница 43: ...Chapter 4 4 System Configuration...
Страница 109: ...103 ADAM 6200 User Manual Chapter 4 System Configuration Rule 1 Rule 2...
Страница 128: ...ADAM 6200 User Manual 122...
Страница 129: ...Appendix A A I O Modbus Mapping Table...
Страница 149: ...143 ADAM 6200 User Manual Appendix A I O Modbus Mapping Table...
Страница 150: ...ADAM 6200 User Manual 144...
Страница 151: ...Appendix B B ADAM 6200 ASCII Commands...
Страница 185: ...Appendix C C REST for ADAM 6200...