Sign In Help
Schneider Electric
HelpSign In
Schneider Electric Exchange
  • Home
  • Collaborate
  • Develop
  • Shop
Home Collaborate Develop Shop Log in or Register Help

Invite a Co-worker

Send a co-worker an invite to the Exchange 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
  • Home
  • Collaborate
  • Exchange Community
  • :
  • Industrial Automation
  • :
  • Machine Solutions in the Digital Transformation
  • :
  • HTTP API Post requests to a specify URL
Community Menu
  • Forums
    • By Topic
        • EcoStruxure IT
          • EcoStruxure IT forum
        • Industrial Automation
          • Industry Automation and Control Forum
          • Alliance System Integrators Forum
          • Machine Solutions in the Digital Transformation
          • EcoStruxure Automation Expert / IEC 61499 Forum
          • Industrial Edge Computing Forum
          • Level and Pressure Instrumentation Forum
          • Modicon User Group
          • PLC Club Indonesia
          • SEE Automation Club Forum
          • Fabrika ve Makina Otomasyonu Çözümleri
          • Форум по промышленной автоматизации СНГ
        • SCADA & Telemetry Solutions
          • Geo SCADA Expert Forum
          • SCADA and Telemetry Devices Forum
        • Power Distribution IEC
          • Power Distribution and Digital
          • Power Standards & Regulations
          • Paneelbouw & Energie Distributie
        • Power Distribution Softwares
          • EcoStruxure Power Design Forum
          • SEE Electrical Building+ Forum
          • LayoutFAST User Group Forum
        • Solutions for your Business
          • Solutions for Food & Beverage Forum
          • Solutions for Healthcare Forum
    • By Segment
        • Food & Beverage
          • Solutions for Food & Beverage Forum
        • Healthcare
          • Solutions for Healthcare Forum
      • EcoStruxure IT
        • EcoStruxure IT forum
      • Industrial Automation
        • Industry Automation and Control Forum
        • Alliance System Integrators Forum
        • Machine Solutions in the Digital Transformation
        • EcoStruxure Automation Expert / IEC 61499 Forum
        • Industrial Edge Computing Forum
        • Level and Pressure Instrumentation Forum
        • Modicon User Group
        • PLC Club Indonesia
        • SEE Automation Club Forum
        • Fabrika ve Makina Otomasyonu Çözümleri
        • Форум по промышленной автоматизации СНГ
      • SCADA & Telemetry Solutions
        • Geo SCADA Expert Forum
        • SCADA and Telemetry Devices Forum
      • Power Distribution IEC
        • Power Distribution and Digital
        • Power Standards & Regulations
        • Paneelbouw & Energie Distributie
      • Power Distribution Softwares
        • EcoStruxure Power Design Forum
        • SEE Electrical Building+ Forum
        • LayoutFAST User Group Forum
      • Solutions for your Business
        • Solutions for Food & Beverage Forum
        • Solutions for Healthcare Forum
      • Food & Beverage
        • Solutions for Food & Beverage Forum
      • Healthcare
        • Solutions for Healthcare Forum
  • Blogs
    • By Topic
        • Industrial Automation
          • Industrial Edge Computing Blog
          • Industry 4.0 Blog
          • Industrie du Futur France
        • SCADA & Telemetry Solutions
          • SCADA and Telemetry Blog
        • Power Distribution IEC
          • Power Events & Webinars
          • Power Foundations Blog
        • Power Distribution NEMA
          • NEMA Power Foundations Blog
        • Power Distribution Softwares
          • EcoStruxure Power Design Blog
          • SEE Electrical Building+ Blog
        • Solutions for your Business
          • Solutions for Food & Beverage Blog
          • Solutions for Healthcare Blog
          • Solutions for Retail Blog
        • Community experts & publishers
          • Publishers Community
    • By Segment
        • Food & Beverage
          • Solutions for Food & Beverage Blog
        • Healthcare
          • Solutions for Healthcare Blog
        • Retail
          • Solutions for Retail Blog
      • Industrial Automation
        • Industrial Edge Computing Blog
        • Industry 4.0 Blog
        • Industrie du Futur France
      • SCADA & Telemetry Solutions
        • SCADA and Telemetry Blog
      • Power Distribution IEC
        • Power Events & Webinars
        • Power Foundations Blog
      • Power Distribution NEMA
        • NEMA Power Foundations Blog
      • Power Distribution Softwares
        • EcoStruxure Power Design Blog
        • SEE Electrical Building+ Blog
      • Solutions for your Business
        • Solutions for Food & Beverage Blog
        • Solutions for Healthcare Blog
        • Solutions for Retail Blog
      • Community experts & publishers
        • Publishers Community
      • Food & Beverage
        • Solutions for Food & Beverage Blog
      • Healthcare
        • Solutions for Healthcare Blog
      • Retail
        • Solutions for Retail Blog
  • Ideas
        • Industrial Automation
          • Modicon Ideas & new features
        • SCADA & Telemetry Solutions
          • Geo SCADA Expert Ideas
          • SCADA and Telemetry Devices Ideas
  • Knowledge Center
    • Building Automation Knowledge Base
    • Industrial Automation How-to videos
    • Ask Exchange
    • Digital E-books
    • Success Stories Corner
    • Power Talks
  • Events & Webinars
  • Support
    • User Guide
    • Leaderboard
    • Releases Notes
Join Now
How can we help?
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: 
49723members
Join Now
243179posts
Join Now

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
Back to Machine Solutions in the Digital Transformation
LlewellynLouw
LlewellynLouw
Cadet
‎2019-06-30 08:39 AM
0 Likes
3
1984
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2019-06-30 08: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
  • Modicon M2xx
Share
Reply
  • All forum topics
  • Previous Topic
  • Next Topic
3 Replies 3
KamenTcho
Crewman KamenTcho Crewman
Crewman
‎2019-09-05 02:25 AM
1 Like
2
1893
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2019-09-05 02:25 AM

Re: HTTP API Post requests to a specify URL

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 (1)
  • Tags:
  • TCPUDPcommunication Machine Expert SoMachine
Share
Reply
LlewellynLouw
LlewellynLouw
Cadet
‎2019-09-05 06:39 AM
1 Like
1
1878
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2019-09-05 06:39 AM

Re: HTTP API Post requests to a specify URL

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

 

Share
Reply
Laurent_F
Crewman Laurent_F Crewman
Crewman
‎2019-10-14 08:38 AM
0 Likes
0
1767
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2019-10-14 08:38 AM

Re: HTTP API Post requests to a specify URL

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 (4)
  • Tags:
  • EcostruxureMachineExpert
  • http
  • https
  • MQTTs
Share
Reply
Find a Service Provider
Find a certified partner to help you address your integration, installation, maintenance and project needs.
View all Providers
Support

Have a question? Please contact us with details, and we will respond.

Contact Us
FAQ

Look through existing questions to find popular answers.

Learn More
About

Want to know more about Exchange and its possibilities?

Learn More

Full access is just steps away!

Join Exchange for FREE and get unlimited access to our global community of experts.

Connect with Peers & Experts

Discuss challenges in energy and automation with 30,000+ experts and peers.

Get Support in Our Knowledge Base

Find answers in 10,000+ support articles to help solve your product and business challenges.

Ask Questions. Give Solutions

Find peer based solutions to your questions. Provide answers for fellow community members!

Register today for FREE

Register Now

Already have an account?Log in

About Us FAQ Terms & Conditions Privacy Notice Change your cookie settings
©2020, Schneider Electric