Skip to content

elmicro/eztcp_modbus_py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

eztcp_modbus_py

Internet Remote Switching with ezTCP via Modbus/TCP (Python 3)

by Oliver Thamm - Elektronikladen Microcomputer
https://github.com/elmicro/eztcp_modbus_py

Description

This test example demonstrates how to access an ezTCP Remote I/O-Controller model CIE-H10 / CIE-H12 / CIE-H14 (Sollae Systems) via Modbus/TCP protocol using Python 3

Usage

python eztcp_modbus.py

Dependencies

Requires EasyModbusTCP/UDP/RTU Python by Stefan Rossmann:

To install, just place ZIP contents into same directory.

CIE-H1x Configuration

Network settings

  • use ezManager tool (Windows) to select basic IP settings matching your local network configuration

I/O Port settings

  • Modbus/TCP enabled
  • Slave
  • unit = 1
  • output port base = 9
  • passive connection
  • local port 502

Copyright, License

This software is Copyright (C)2017 by ELMICRO - https://elmicro.com
and may be freely used, modified and distributed under the terms
of the MIT License - see accompanying LICENSE.md for details

References

[1] Wikipedia: Modbus communications protocol
[2] Sollae Systems - ezTCP