Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

We Value Your Feedback!
Could you please spare a few minutes to share your thoughts on Cloud Connected vs On-Premise Services. Your feedback can help us shape the future of services.
Learn more about the survey or Click here to Launch the survey
Schneider Electric Services Innovation Team!

HTTP API Post requests to a specify URL

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.

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • Industrial Automation
  • HVAC and Pumping Forum
  • HTTP API Post requests to a specify URL
Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
FedericoM
Commander FedericoM Commander
71
Bastian_Schmitz
Admiral Bastian_Schmitz Admiral
48
LeTomas
Lt. Commander LeTomas Lt. Commander
14
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Back to HVAC and Pumping Forum
Anonymous user
Not applicable

Posted: ‎2019-06-30 08:39 AM . Last Modified: ‎2020-10-06 06:39 AM

0 Likes
4
6706
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

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

HTTP API Post requests to a specify URL

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

 

Labels
  • Labels:
  • Modicon M2xx
Reply

Link copied. Please paste this link to share this article on your social media post.

  • All forum topics
  • Previous Topic
  • Next Topic
Replies 4
KamenTcho
Ensign KamenTcho Ensign
Ensign

Posted: ‎2019-09-05 02:25 AM

1 Like
2
6614
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

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!

 

 

Аdvanced support on PLCs and HMIs for fun and glory
  • Tags:
  • TCPUDPcommunication Machine Expert SoMachine
Reply

Link copied. Please paste this link to share this article on your social media post.

Anonymous user
Not applicable

Posted: ‎2019-09-05 06:39 AM

In response to KamenTcho
1 Like
1
6599
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

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

 

Reply

Link copied. Please paste this link to share this article on your social media post.

Laurent_F
Ensign Laurent_F Ensign
Ensign

Posted: ‎2019-10-14 08:38 AM . Last Modified: ‎2019-10-14 08:40 AM

In response to Anonymous user
0 Likes
0
6488
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

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)

 

  • Link to the official EcoStruxure Machine Expert documentation (<https://olh.schneider-electric.com/Machine%20Expert/LandingPages/en/index.html>).
    • There is some documentation about the HttpHandling and MqttHandling libraries (Software>Libraries...>Libraries >Communication Libraries)
    • There is a project example with Modicon M262 that presents the way to use either HTTPs or MQTTs protocols within dedicated 

      A guide called "MQTT Handling Example Guide" is also delivered (Software > Libraries, Templates and Examples > Example Guides > MQTT Handling Example Guide)
 
The project examples can be found inside EcoStruxure Machine Expert software:  File > new project > From Example
  • Tags:
  • EcostruxureMachineExpert
  • http
  • https
  • MQTTs
Reply

Link copied. Please paste this link to share this article on your social media post.

Daniil_Andrienko
Daniil_Andrienko Cadet
Cadet

Posted: ‎2023-08-14 11:38 PM

0 Likes
0
2300
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

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.

  • Tags:
  • http
  • https
Reply

Link copied. Please paste this link to share this article on your social media post.

Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

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.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

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