element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Internet of Things
  • Technologies
  • More
Internet of Things
Forum s7-1200 1212c PLC Connection to a website
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Internet of Things to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 6 replies
  • Subscribers 505 subscribers
  • Views 1750 views
  • Users 0 members are here
  • internet_of_things
  • iot
Related

s7-1200 1212c PLC Connection to a website

Pircks
Pircks over 2 years ago

Good day, does anyone know if I still need a communication module so I can connect my s7-1200 1212c PLC to my website (it will send On and Off status).

If yes, is there any PLC capable to communicate to a website without additional communication module? Thank you!!!! (I'm trying to use TCP/IP instead of MQTT)

  • Sign in to reply
  • Cancel

Top Replies

  • BigG
    BigG over 2 years ago +2
    I think you'll find that MQTT is the most effective option for you to send and receive On and Off status messages. TCP/IP relies on client-server architecture design, which means that when any web client…
  • mp2100
    0 mp2100 over 2 years ago

    Interesting question. I don't know the answer  but I'll read up on this. I've used an s7-1200 for simple relay control. But didn't ever think to connect it to a website. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Pircks
    0 Pircks over 2 years ago in reply to mp2100

    The idea is a web based SCADA

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • bhavikbhansali
    0 bhavikbhansali over 2 years ago

    Hey Pircks 

    As far as I am able to see the details I can see that there is #modbus #modbus /tcp communication available for the communication which means you can have data on the website or even you can control the PLC from there.

    Also if you find any difficulty please post it here I may help you with that since I worked with the Modbus over serial and Modbus over RS485.

    https://www.youtube.com/watch?v=OAim_iB1Bn8&t=5s&pp=ygUYZW5lcmd5IG1vbml0b3Jpbmcgc3lzdGVt (Please excuse since the audio and subtitle is not available in English) but yes I have developed industrial-grade gateway which is capable to have a connection via RS485 and WiFi. 

    Also if you need any help just ping me I can surely help you with this. Waiting to see your progress and results.

    I am not sure is possible to do a direct connection with the server from PLC or not.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • BigG
    0 BigG over 2 years ago

    I think you'll find that MQTT is the most effective option for you to send and receive On and Off status messages. TCP/IP relies on client-server architecture design, which means that when any web client, whether it's your website or the PLC, is wanting to receive a timely (or near real-time) status update, it will have to frequently poll the webserver to get this information. This is certainly not very efficient. This is what publish-subscribe services, like MQTT, are designed for. Of course, there have been many in the past who have created a webserver on a PLC, only to find that they've unwittingly opened up that PLC to the world to play with.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • mp2100
    0 mp2100 over 2 years ago

    I read some information on the Siemens web site.  Those little PLCs have a lot more capabilities than I expected.   I've attached the datasheet.

    imagePDF

    The s7-1212c (and all the various s7-1200 models) have a buitl in web server.  I have not used it, but there are some application notes that should help you.  Here is a link to a page, I think it is what you are looking for.  Siemens does use their TIA Portal software to do all the configuration.

    https://support.industry.siemens.com/cs/document/68011496/creating-and-using-user-defined-web-pages-on-s7-1200-s7-1500?dti=0&lc=en-WW

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • ggabe
    0 ggabe over 2 years ago

     Pircks , can you tell what’s making up “my website/a website”, where you expect the data to be passed onto? Where is it hosted, what authentication it uses, what content update mechanisms it has, are there frameworks to run applications? If you don’t have one, I suggest AWS….

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube