Coder Social home page Coder Social logo

simaticmeetslinux / iot2050-serial-modbusrtu-example Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 870 KB

About This application shows two ways to exchange data via a serial port between PC (Windows/Linux) and the IOT2050. In the first example a pure serial transmission is used, while in the second example the communication protocol Modbus RTU is used additionally.

License: MIT License

iot2050 modbus-rtu serial node-red

iot2050-serial-modbusrtu-example's Introduction

IOT2050-Example-Serial-Modbus-Connection

Overview

This application shows two ways to exchange data via a serial port between PC (Windows/Linux) and the IOT2050. In the first example a pure serial transmission is used, while in the second example the communication protocol Modbus RTU is used additionally.

Overview

Hardware

The following hardware components are required for the application:

  • SIMATIC IOT2050 Advanced or Basic
  • USB to Serial Converter (in this example: DIGITUS USB 2.0 to serial Converter, RS485 incl. USB A Cable 80cm)##

Software

  • Example 1: Virtual Machine with Linux OS on Windows PC: In this example VMWare Workstation 16 Player and Linux Debian 10 is used
    • working internet connection on the VM
    • install picocom with the terminal-command 'sudo apt-get install picocom' (in this manual version 3.1 is used)
  • Example 2: PyModSlave on Windows PC: You can download it here (in this manual version 0.4.4 is used)

Prepare the IOT2050 & Examples

You can find the instructions for preparing the IOT2050 and the both examples in the following links:

Related Links

Topic
1 SIMATIC IOT2050 forum: https://support.industry.siemens.com/tf/ww/en/threads/309
2 SIMATIC IOT2050 Getting Started: https://support.industry.siemens.com/tf/ww/en/posts/238945/
3 Operating Instructions: https://support.industry.siemens.com/cs/ww/en/view/109779016

Contribution and Contribution License Agreement

Thank you for your interest in contributing. Anybody is free to report bugs, unclear documentation, and other problems regarding this repository in the Issues section. Additionally everybody is free to propose any changes to this repository using Pull Requests.

If you haven't previously signed the Siemens Contributor License Agreement (CLA), the system will automatically prompt you to do so when you submit your Pull Request. This can be conveniently done through the CLA Assistant's online platform. Once the CLA is signed, your Pull Request will automatically be cleared and made ready for merging if all other test stages succeed.

License and Legal Information

Please read the Legal information.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.