Access Data Of The Io Ports; Read Input C/Qi Of The Io Channel - IFM DTE8 5 Series Device Manual

Rfid compact device iot protocol
Table of Contents

Advertisement

Access data of the IO ports

The following services allow the access to the IO ports.

Read input C/Qi of the IO channel

Service available: DTE105, DTE605, DTE805, DTE9x5
This service is supported in the channel mode "Input".
Method: POST
URL:
http://192.168.0.79:8080
{"code": "request", "cid": 2002, "adr": "data/port[2]/input/cqi/getdata","reply": "reply text"}
Request
Value
element
code
"request"
cid
<CorrID>
adr
data/port[N]/input/iq/getdata
reply
"<string>"
Response data:
{"cid": 2002,"data":{"value":1},"adr":"reply text","code":200}
Response
Value
element
cid
<CorrID>
data
{"value":<state>}
adr
<string>
code
<status code>
Remark
-
Correlation identifier.
Can be set from 0...32767
e.g. 2002
For DTE10x : N = 1...4
For DTE60x, DTE80x, DTE9Xx: N = 2,3
Optional:
Text to be send back in the response.
If not needed, this element can be removed from
the request.
e.g. "reply text"
Remark
Correlation identifier.
Same as send in request
e.g. 2002
State of the channel input C/Qi
<0> = off (0V)
<1> = on (24V)
e.g. 1
Optional.
Text sent in element "reply" of the service
request
e.g.
"reply text"
Response code of the IoT core
See chapter ->
IoT Core: Status codes
e.g. 200
54

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dte9 5 seriesDte105Dte605

Table of Contents