EasyManua.ls Logo

Advantech ADAM-6256 - Page 190

Advantech ADAM-6256
192 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
ADAM-6200 User Manual 184
C.2.2.4 GET /analogoutput/(all|{id})/range
Request
Thecontenttypewillbeapplication/xwwwformurlencoded’.
{id}:istheAOchannelIDstartingfrom0
Examples:
UsethefollowingURItogettheAO0rangeinformation.
http://10.0.0.1/analogoutput/0/range
UsethefollowingURItogettheallAOrangeinformation.
http://10.0.0.1/analogoutput/all/range
Response
The content-type will be ‘text/xml’
IfresultisOK,thecontentwilllook
likebelow
<?xml version="1.0" ?>
<ADAM-6224 status=”OK”>
<AO>
<ID>0</ID>
<RANGE>7</RANGE>
<NAME>4~20mA</NAME>
<MAX>20</MAX>
<MIN>4</MIN>
<UNIT>mA</UNIT>
</AO>
</ADAM-6224>
Ifresultisfailed,thecontentwilllooklikebelow
<?xml version="1.0" ?>
<ADAM6224status=”{error}”>
</ADAM-6224>
{error}:Theerrormessage.
Remarks
Ifthe{id}isoutofrange,theresponsewillreturnHTTPstatuscode501
(Notimplemented)

Table of Contents

Related product manuals