IO-Link master with EtherCAT interface DataLine 4 ports IP 65 / IP 66 / IP 67
134
>
Service: stream_set
52341
Name:
stream_set
Description:
The service transfers a data segment.
Applicable to:
Objects of type data
Request data (data):
Data field
Required
field
Data type
Default
Description
value
mandatory
BIN (BASE64)
*
Segment of binary data (BASE64 coded)
Return data (data):
none
>
Service: subscribe
61198
Name:
subscribe
Description:
The service subscribes to the values of data points. The data points to be subscribed are
transferred as a list. The IoT Core sends changes to the data sink defined in callback.
CSV formatted notifications can only be transmitted using the TCP protocol via an activated
and configured MQTT channel.
Request data ("data" field):
Data field
Mandatory
field
Data type Description
callback
mandatory
STRING
Address to which IoT Core event notifications are to be sent; URL format:
▪
JSON: http://ipaddress:port/path
▪
JSON: ws:///path
▪
JSON: mqtt://ipadress:port/topic
▪
CSV: tcp://ipaddress:port/path
datatosend
mandatory
ARRAY
OF
STRINGS
List from URLs of data elements; Elements must support getdata
codec
optional
STRING
Format of the returned data
▪
json: JSON formatted
▪
csv: CSV with standard separator (,)
▪
csv0: CSV formatted with comma separator (,)
▪
csv1: CSV formatted with semicolon separator (;)
DURATION
mandatory
STRING
Duration of value storage
▪
lifetime: Value is saved with IoT Core; Value remains valid even after
restart of the device
▪
uptime: Value is saved until the next restart of the device
▪
once: send only one notification, user must unsubscribe immediately
Return data ("data" field):
none
Notification:
JSON
{
"code":"event",
"cid":4711,
"adr":"",
"data":{