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

Advantech ADAM-6266 User Manual

Advantech ADAM-6266
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 #191 background imageLoading...
Page #191 background image
185 ADAM-6200 User Manual
Appendix C REST for ADAM-6200
C.2.3 Digital Input
C.2.3.1 GET /digitalinput/(all|{id})/value
Request
Thecontenttypewillbe‘application/xwwwformurlencoded’.
{id}:istheDIchannelIDstartingfrom0
Examples:
UsethefollowingURItogettheDI0value.
http://10.0.0.1/digitalinput/0/value
UsethefollowingURItogettheallDIvalues.
http://10.0.0.1/digitalinput/all/value
Response
The content-type will be ‘text/xml’
IfresultisOK,thecontentwilllooklikebelow
<?xml version="1.0" ?>
<ADAM-6250 status=”OK”>
<DI>
<ID>0</ID>
<VALUE>0</VALUE>
</DI>
</ADAM-6250>
Ifresultisfailed,thecontentwilllooklikebelow
<?xml version="1.0" ?>
<ADAM6250status={error}”>
</ADAM-6250>
{error}:Theerrormessage.
Remarks
Ifthe{id}isoutofrange,theresponsewill returnHTTPstatuscode501
(Notimplemented)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Advantech ADAM-6266 Specifications

General IconGeneral
BrandAdvantech
ModelADAM-6266
CategoryControl Unit
LanguageEnglish

Related product manuals