JSON-RPC代理,用于在RTU和TCP上谈论modbus。

Tolk的Python项目详细描述


……图片::https://travis-ci.org/AdvancedClimateSystems/tolk.svg?branch=master
:目标:https://travis ci.org/AdvancedClimateSystems/tolk
。图片::https://coveralls.io/repos/advancedclarmatesystems/tolk/badge.svg?branch=master&service=github
:目标:https://coveralls.io/github/AdvancedClimatesystems/tolk?分支=主
…图像::https://img.shields.io/pypi/v/tolk.svg
:目标:https://pypi.python.org/pypi/tolk/

=====

python编写。可以在github上找到源代码。文档可在下面的
“阅读文档”中找到,您可以在Unix域的套接字中找到如何开始TOLK侦听JSON-RPC请求的示例代码。tolk将通过
:类:`dispatcher`将请求委托给:类:`modbus-tk.modbus-tcp.tcpmaster',在
中,该类将请求位于“localhost:502”的modbus从机。

代码::python

from modbus_tk.modbus_tcp import tcp master
from socketserver import unixstreamserver

502)
dispatcher=dispatcher(modbus_master)

server=unixstreamserver('/tmp/tolk.sock',handler)
server.dispatcher=dispatcher


许可证
----

版权所有2015
“高级气候系统”

…外部参考:
…_高级气候系统:http://AdvancedClimate.nl
…_ Github:https://github.com/advancedClimateSystems/tolk
。_ modbus_tcp_slave.py:脚本/modbus_tcp_slave.py
…_ Mozilla公共许可证:许可证
…_ pytest:http://pytest.org/latest/
。_ json_rpc_client.py:脚本/json_rpc_client.py
…_ tolk_server.py:脚本/tolk.py
…_阅读文档:https://tolk.read the docs.org/en/latest/

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java是从此类字符串中提取数据的最佳方法   filenotfoundexception Java FileOutputStream Windows/Linux   java在SQLite数据库Android SDK中搜索特定字符串   java使用键值访问jsp中Map<Long,Map<String,Object>>的内容   java奇怪的HTMLeditor工具包问题   在java中使用数组只计算字母   每个应用程序都可以有自己独立的Java SDK吗   java如何将jasper报告生成的PDF文件保存在一个项目文件夹中   java BigDecimal包装器:静态字段为零   解码Base64图像时出现java IllegalArgumentException(非法的Base64字符)   将int转换为字节在Java和Actionscript中产生不同的结果   java什么使不可变对象在没有安全发布技术的情况下发布?   java将字节数据写入目录   一个计算器中有多个操作的java问题   面向对象Java重写是如何工作的   带hibernate的java ClassCastException   指向最后一个对象的java对象列表   java单元测试spring项目中的Get请求