Advantech ADAM-6217 User Manual page 187

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

Advertisement

C.2.1.2
GET /analoginput/(all|{id})/range
Request
Response
Remarks
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 range information.
http://10.0.0.1/analoginput/0/range
Use the following URI to get the all AI range information.
http://10.0.0.1/analoginput/all/range
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>
    <RANGE>7</RANGE>
    <NAME>4~20 mA</NAME>
<MAX>20</MAX>
<MIN>4</MIN>
<UNIT>mA</UNIT>
</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.
If the {id} is out of range, the response will return HTTP status code 501 
(Not implemented)
181
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