User Manual
ADAM-6000 Series User Manual 290
D.2.3.3 GET /analogoutput/(all|{id})/range
Request The content-type will be ‘application/x-www-form-urlencoded’.
{id} : is the AO channel ID starting from 0
Examples:
Use the following URI to get the AO-0 range information.
http://10.0.0.1/analogoutput/0/range
Use the following URI to get the all AO range information.
http://10.0.0.1/analogoutput/all/range
Response The content-type will be ‘text/xml’
If result is OK, the content will look like below
<?xml version="1.0" ?>
<ADAM-6224 status=”OK”>
<AO>
<ID>0</ID>
<RANGE>7</RANGE>
<NAME>4~20 mA</NAME>
<MAX>20</MAX>
<MIN>4</MIN>
<UNIT>mA</UNIT>
</AO>
</ADAM-6224>
If result is failed , the content will look like below
<?xml version="1.0" ?>
<ADAM-6224 status=”{error}”>
</ADAM-6224>
{error} : The error message.
Remarks If the {id} is out of range, the response will return HTTP status code
501 (Not implemented)