EasyManua.ls Logo

Siemens MindConnect Nano - Page 96

Siemens MindConnect Nano
131 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Commanding Device via API
In order to command the device, there are 3 critical ids that needs to be get from the system.
Those ids are deviceId, datasourceId and datapointId. To get the ids, follow these steps:
Getting deviceId
You can "GET" the "id" of your device using the "id" of your asset with a below request.
/api/devicemanagement/v3/devices?assetId={id} In the response, device id will be displayed. For
more information, Device Management Service see documentation.
Getting datasourceId and datapointId
In the second step, we need to make a request to mindconnectdevicemanagment service to
"GET" the id of the datasource and the datapoint.
/api/mindconnectdevicemanagement/v3/devices/{assetId}/dataConfig
In the response of this request the ids will be displayed and should be exdtracted for the final api
call. Below is the response for the above request. The "id" field in dataSource item represents the
datasourceId and the dataPointId represents the "id" of the datapoint.
{
"id": "392fe515-5b61-439d-814d-b37b9fa7ef7b",
"agentId": "25137086d6c141b682d9fcb135c8168e",
"uploadCycle": "10",
"configurationId": "1650623649731",
"dataSources": [
{
"id": "326340f5-88c6-409a-a5d9-03e95ce7af94",
"name": "WindTurbine",
"description": "datasource_description",
"protocol": "S7",
Remote functions
6.2 Send commands for MindConnect Nano
MindConnect Nano
System Manual 7/2023 96

Table of Contents

Other manuals for Siemens MindConnect Nano

Related product manuals