Files
gateway_plc/readme.md
pengqi bc0074824d 上传文件至 /
添加相关说明
2025-08-14 15:10:06 +08:00

13 lines
848 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 使用教程:
运行main.py或.exe文件在postman中通过相关端口进行api指令的发送详细查看api界面
# 还需添加的功能:
1. 写bool类型尝试不读取字节只修改位。如writedb,writearea
2. 多线程轮询多个PLC的数据同步
3. 博途怎么弄虚拟PLC仿真就是使用的虚拟PLC但是除了博途之外的外部设备等无法连接该虚拟PLC
4. 现在只完成了读写批量读写int和bool类型的功能完善其他类型的功能
5. 通过指令来修改网关的IP通过串口来接收一个指令
# 注意事项:
1.现在程序使用的是html单独的文件该程序生成.exe会读取不到html文件因此如果要生成.exe文件
将main中的from api_server_html import APIServer 修改为from api_server import APIServer即可。