Advantech ADAM-6217 User Manual page 189

Adam-6200 series intelligent ethernet i/o module
Table of Contents

Advertisement

C.2.2.3
GET /analogoutput/(all|{id})/range
Request
Response
Remarks
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
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.
If the {id} is out of range, the response will return HTTP status code 501 
(Not implemented)
183
ADAM-6200 User Manual

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adam-6224Adam-6260Adam-6250Adam-6266Adam-6251Adam-6256

Table of Contents