HVAC and Pumping Forum
Support Forum for HVAC and pumping machines, Modicon M17x and EcoStruxure Machine Expert HVAC software for chillers, AHU, CRAC units for datacenters or process chillers applications - from design, implementation to troubleshooting and more, by Schneider Electric.
Posted: 2019-06-30 08:39 AM . Last Modified: 2020-10-06 06:39 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2019-06-30 08:39 AM . Last Modified: 2020-10-06 06:39 AM
Is there a Function Block in Somachine to create a basic HTTP API Post request to a specify URL?
Something like https://www.abc.com//DataApi/NewReading?data=DSTRT|25062019112205|00001|DEND
The processor is question is a M251SESE connected to the internet with LTE router.
Thank you
Llewelyn Louw
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2019-09-05 02:25 AM
Hi,
I have not tried to do anything like this - HTTP implementation on a PLC, that is a bit away from where I am a bit more comfortable, but have you had a look at this library,
https://www.schneider-electric.com/en/download/document/EIO0000002803/
and that Example guide:
https://www.schneider-electric.com/en/download/document/EIO0000002827/
Perhaps it would be enough to get a TCP connection to get it going in a more simple way...
Besides httpS is a show stopper. Not there yet.
You could consider the MQTT perhaps (soon over TLS, in M262):
https://www.schneider-electric.com/en/download/document/EIO0000002773/
Who knows - maybe someone will suggest better idea...
Good luck!
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2019-09-05 06:39 AM
Thank you Kamen
I haven't seem some of the reference material. In the end, what I did was to use a 3rd party Linux based solution running Node Red to read the values from the PLC (Modbus) and handle the http request in Node Red.
MQTT was not an option in this case as the API (with the http Post implementation) was provided by the client. It seem the M262 will open a lot of doors for us in the future - fingers crossed.
Llewellyn Louw
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2019-10-14 08:38 AM . Last Modified: 2019-10-14 08:40 AM
Hi
FYI, related topic inside EcoStruxure Machine Expert (the new name of SoMachine)
The project examples can be found inside EcoStruxure Machine Expert software: File > new project > From Example
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-08-14 11:38 PM
I'm sorry, I have a problem, I'm a student and I'm trying to connect M262 PLC to Aveva Insight using only Machine Expert capabilities and I don't understand a little bit if it can be done not via MQTT but via HTTP, if anyone knows can you give me some advice how to do it or a recommendation. Thank you in advance.
Link copied. Please paste this link to share this article on your social media post.
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.
With achievable small steps, users progress and continually feel satisfaction in task accomplishment.
Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.
of