Skip to content

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

Notifications You must be signed in to change notification settings

SIMATICmeetsLinux/IOT2050-Serial-ModbusRTU-Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published