- GateManager Own - Datalogging Scenarios
- LogTunnel Scenarios
- SiteManager Embedded Scenarios
- SiteManger Scenarios
Getting started with DCM - Schneider Electric EcoStruxture (Machine Advisor)
Introduction
The Schneider Electric EcoStruxure Machine Advisor can be used as a DCM dataserver. The following guide describes how to setup simulated functions and send data to the Machine Advisor cloud.
Prerequisites
- SiteManager Hardware with DCM capabilities.
- The SiteManager firmware must be version 9.0 or higher.
-
An active account on
EcoStruxure Machine Advisor
.
Note: From version 9.0.17 (19192) DCM requires NTP to be enabled in the SiteManager.
See more info here.
1. EcoStruxure Machine Advisor setup
1.1. Configure machine
Go to menu Fleet and select the machine you want to configure and click on the “Monitor” button.
Note the server url and authentication-header from the “monitor-configuration” screen:
Make sure you select the “Charlie” format and “HTTPs” as Transport.
2. DCM configuration
2.1. Add Machine Advisor server auth
Login to the SiteManager GUI and select DCM > Certificates. Click New to create a new entry.
Select “Schneider Electric Machine Advisor Authentication (Header2)” in the dropdown selection, and give et a name, fx “semaauth”. Click on the certificate and paste the content from the Header2 field obtained in section 1.2 Configure machine . Then, click save.
Click New and select “Schneider Electric Machine Advisor Server URL” in the dropdown selection, and give et a name, fx. “semaurl”. Click on the certificate button and paste the content from the Server field i n section 1.2 Configure machine . Then, click save.
You should now see two entries in the certificate storage:
2.2. Configure DCM
Go to menu DCM > Edit and add a Dataserver to the configuration. If you don’t have a running DCM configuration, refer to Appendix A – Example DCM configuration for a sample configuration using simulated values.
In the Dataserver object, you have to adjust the paramterers of the SemaServer object to match the entries you created earlier in section 2.1 Add Machine Advisor server auth
When are done adjusting the configuration, click “Save”. If the configuration is valid, the DCM will restart and use the newly created configuration.
Validate data being send to the Dataserver by observing the DCM > Status page.
Look for the time of last successful communication and number of reported values. This will tell you when and how many values, the DCM has send data to the dataserver.
Appendix A – Example DCM configuration
{
"ConfigDescription": "Configuration for sending Simulation data to Schneider Electric Machine Advisor",
"ConfigName": "Sematest",
"CheckpointInterval": 600,
"Collectors": [
{
"CollectorName" : "sim",
"CollectorDescription" : "DCM Internal Simulation Server",
"Protocol" : "Simulator",
"SamplePoints" : [
{
"SampleName" : "counter",
"SampleDescription" : "DCM simulation of counter",
"SamplesSaved" : 300,
"SampleDataType" : "uint32",
"SimulatorData" : {
"SimulatorFunction" : "counter",
"SimulatorInitValue" : 20,
"SimulatorIncValue" : 2,
"SimulatorSampleInterval" : 1
}
},
{
"SampleName" : "sawtooth",
"SampleDescription" : "DCM simulation of sawtooth",
"SamplesSaved" : 300,
"SampleDataType" : "uint32",
"SimulatorData" : {
"SimulatorFunction" : "sawtooth",
"SimulatorInitValue" : 20,
"SimulatorIncValue" : 2,
"SimulatorSampleInterval" : 1
}
},
{
"SampleName" : "oscillator",
"SampleDescription" : "DCM simulation of oscillator",
"SamplesSaved" : 300,
"SampleDataType" : "uint32",
"SimulatorData" : {
"SimulatorFunction" : "oscillator",
"SimulatorInitValue" : 20,
"SimulatorIncValue" : 2,
"SimulatorSampleInterval" : 1
}
},
{
"SampleName" : "sine",
"SampleDescription" : "DCM simulation of sine curve",
"SamplesSaved" : 300,
"SampleDataType" : "double",
"SimulatorData" : {
"SimulatorFunction" : "sine",
"SimulatorInitValue" : 1000,
"SimulatorIncValue" : 100,
"SimulatorSampleInterval" : 1
}
}
]
}
],
"DataServers": [
{
"DatasrvName" : "sema_advisor",
"DatasrvProtocol" : "SEMA/REST",
"ConnectRetryMax": 240,
"ConnectRetryMin": 30,
"SemaParams": {
"URLName" : "semaurl",
"AuthName" : "semaauth",
"PushInterval" : 10
}
}
]
}
Now it's time to learn more about the DCM config file and how to set it up for your devices:
JSON config file basic structure
Files | ||
---|---|---|
DataImage57.png 102.7 KB resend |