Gateways and Energy Servers
Schneider Electric support forum to share knowledge about product selection, installation and troubleshooting for EcoStruxure Panel Server, PowerTag, Com'X, Link150…
User | Count |
---|---|
82 | |
46 | |
28 | |
28 |
Link copied. Please paste this link to share this article on your social media post.
A customer (ENEL) ask us details about the protocol used by EGX300 or COMx on the https channel for sending the energy data to the relay server. They want the protocol description so that they can evaluate delivering a compatible platform for acquire data from our field gateway (EGX300 or COMx)
Link copied. Please paste this link to share this article on your social media post.
Hi Sabrina,
I can only speak to the EGX300. The EGX300 uses HTTP over SSLv3/TLSv1 (rfc 2818) without server certificate verification.
I hope this helps.
Randi
Link copied. Please paste this link to share this article on your social media post.
Hello Sabrina!
I'm not sure if I follow the question fully, but I'll give it a shot.
On either the EGX300, or Com'X 200, we can export/publish data to a HTTP (port 80) or HTTPs (port 443) server using the HTTP protocol.
Com'X 200
EGX300
After choosing this as your transport, the server will accept the data as a .CSV file.
Does this help?
James
Link copied. Please paste this link to share this article on your social media post.
What the customer is asking is if it's available a description of the "exchange of packets" between the EGX/COMX and the relay sever. The sequence of requests/responses/acks between them.
Someone knows something about it?
Thank you
Sabrina
Link copied. Please paste this link to share this article on your social media post.
Posted: 2014-03-13 07:43 AM
Link copied. Please paste this link to share this article on your social media post.
The protocol itself is HTTP or HTTPS,
it is a standard, and normally you don't have to know the detail of the exchanged frames. You just have to start a HTTP / HTTPS server on your host
I would suggest to use "Apache" because it is an open source project, used by 80% of the servers)
Once the server is startet and configured, you will receive the CSV files from the Com'X 200 in the directory specified by HTTP server configuration.
The CSV file syntax is the same that the the one used by the EGX300 :
The difference is that the file is Ziped in order to reduce GPRS traffic
The first line is a comment that describes the header :
"Gateway Name,Gateway SN,Gateway IP Address,Gateway MAC Address,Device Name,Device Local ID,Device Type ID,Device Type Name,Logging Interval,Historical Intervals"
The second line is the header according to the previous format.
2 empty lines
The next line is a comment that describes the Topic ID list :
,,,Topic ID1,Topic ID2
The next line is the topics ID list according to the previous format.
2 empty lines
The next line is a comment that describes the variables time stamped value list :
Error,UTC Offset (minutes),Local Time Stamp,Active Energy (Wh),Reactive Energy (VArh)
The following lines are the variables value according to the previous format
Please find following the beginning of the file for a PM9c
//==============================================================================
Gateway Name,Gateway SN,Gateway IP Address,Gateway MAC Address,Device Name,Device Local ID,Device Type ID,Device Type Name,Logging Interval,Historical Intervals
DL_JEF,ComX2_srv_dev149,10.195.148.50,00:80:67:F9:31:90,PM9C_Id2,Resource-5,PM9C,PM9C,10,1085
,,,Topic ID1,Topic ID2
,,,1621,1625
Error,UTC Offset (minutes),Local Time Stamp,Active Energy (Wh),Reactive Energy (VArh)
0,120,09-04-2013 11:00:00,576322000,138687000
0,120,09-04-2013 11:10:00,576331000,138689000
0,120,09-04-2013 11:20:00,576340000,138691000
0,120,09-04-2013 11:30:00,576351000,138692000
0,120,09-04-2013 11:40:00,576363000,138695000
0,120,09-04-2013 11:50:00,576376000,138698000
0,120,09-04-2013 12:00:00,576389000,138701000
0,120,09-04-2013 12:10:00,576403000,138704000
0,120,09-04-2013 12:20:00,576417000,138707000
0,120,09-04-2013 12:30:00,576433000,138711000
0,120,09-04-2013 12:40:00,576447000,138714000
0,120,09-04-2013 12:50:00,576463000,138717000
0,120,09-04-2013 13:00:00,576478000,138720000
0,120,09-04-2013 13:10:00,576493000,138724000
0,120,09-04-2013 13:20:00,576506000,138727000
0,120,09-04-2013 13:30:00,576519000,138729000
0,120,09-04-2013 13:40:00,576527000,138732000
0,120,09-04-2013 13:50:00,576533000,138734000
Link copied. Please paste this link to share this article on your social media post.
I believe the question was: wenn i have a webserver on the other side, it is normaly there to provide data over the http protocol and not to recieve data. For example when i am using the IIS, which configuration should i do to tell my webserver that it should recieve data ( the only way it webdav, i think)?
Link copied. Please paste this link to share this article on your social media post.
Hi Abdelatif,
So, in this case, there needs to be an application running on the server (IIS) that accepts the HTTP POST. Using the screen capture above, the HTTP server will see "POST datafile1". The server will associate this POST with an application that will get the data from the client and store it on the server.
Here's some information on Microsoft's site...
http://www.iis.net/configreference/system.webserver/handlers
Randi
Link copied. Please paste this link to share this article on your social media post.
Thanks Randi,
did we have a sample Application for IIS, please.
Link copied. Please paste this link to share this article on your social media post.
I have asked our test team for a sample. I will send it when they deliver it to me.
Link copied. Please paste this link to share this article on your social media post.
I have sent the example via email.
Link copied. Please paste this link to share this article on your social media post.
Would you update this thread as "answered", if you are satisfied with the reply?
Thank you.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.