摘要: 本博客继续记录我学习tictoc教程中的一些学习笔记,以便后续复习。 Part 3 - Enhancing the 2-node TicToc 具体可以新增的功能包括: 1. 给simple module添加icon 2. 在module initialize()和handleMessage()时增 阅读全文
posted @ 2025-11-04 22:16 碳酸钾K2CO3 阅读(1) 评论(0) 推荐(0)
摘要: 起源:毕业设计需要用到OMNet++,但感觉网上资料较少,所以打算写一系列博客来记录自己学习的过程。这样一方面可以督促自己尽快学习完并做完毕业设计的仿真,另一方面也希望可以帮助到有同样需求的朋友。 1 网络资料 1. 官网 OMNeT++ Tutorials and Technical Articl 阅读全文
posted @ 2025-11-04 17:21 碳酸钾K2CO3 阅读(3) 评论(0) 推荐(0)
摘要: Openplc中利用pymodbus库来实现对软PLC 输入输出的监控,并在【OpenPLC_v3\webserver】文件夹的monitoring.py文件中定义了有关的接口的实现,这篇博客对pymodbus和OpenPLC中monitoring.py进行简单的介绍,以方便大家借助OpenPLC提 阅读全文
posted @ 2024-12-17 15:32 碳酸钾K2CO3 阅读(299) 评论(0) 推荐(0)
摘要: 多进程共享内存(如 multiprocessing.Value 和 multiprocessing.Array): 如果使用 multiprocessing 模块创建共享变量,这些变量通常只在同一进程池中的进程之间共享。因此,不同的 Python 环境(即不同的 Python 解释器运行的环境)无法 阅读全文
posted @ 2024-10-29 20:19 碳酸钾K2CO3 阅读(234) 评论(0) 推荐(0)
摘要: 背景:成功安装OpenPLC runtime后,上传.st文件后,在编译过程中执行 ./glue_generator 时,总是报错: Error opening glue variables file at glueVars.cpp 原因:glueVars.cpp没有读写权限,在【compile_p 阅读全文
posted @ 2024-10-17 20:05 碳酸钾K2CO3 阅读(89) 评论(0) 推荐(0)
摘要: 1 发现问题 背景:想在TL62x上安装无线网卡驱动,但是不管是创龙官方提供的无线驱动,还是自己购买的EW-7822UAn,都会出现以下问题: root@AM62x-Tronlong:/EW-7822UAn_Linux_Driver_4.0.9/rtl8188C_8192C_usb_linux_v4 阅读全文
posted @ 2024-06-14 15:47 碳酸钾K2CO3 阅读(229) 评论(0) 推荐(0)
摘要: 可参考: https://stackoverflow.com/questions/71850969/importerror-cannot-import-name-run-with-reloader-from-werkzeug-serving https://blog.csdn.net/weixin_ 阅读全文
posted @ 2024-06-12 16:04 碳酸钾K2CO3 阅读(71) 评论(0) 推荐(0)
摘要: 1 尝试1:基于requests编写无Web的前端 第一种尝试的思路是:基于OpenPLC已经开源的webserver后端,基于requests库编写无web的前端。换句话说,我想用requests的各种get/put请求,替代基于web的前端请求。 但是我在编写了一个前端后,出现了奇怪的问题: 使 阅读全文
posted @ 2024-04-13 20:03 碳酸钾K2CO3 阅读(481) 评论(0) 推荐(1)
摘要: 缓慢推进中,但是找到了一些参考资料: 1. 一个PSM example: https://d28lcup14p4e72.cloudfront.net/203128/6168244/PSM-Instructions.pdf 2. 官方对PSM的简介:https://openplc.discussion 阅读全文
posted @ 2024-02-29 14:55 碳酸钾K2CO3 阅读(562) 评论(0) 推荐(0)
摘要: 参照之前的博客登录TL62x-EVM的openplc runtime的网络服务器,并参照runtime的使用说明进行初步测试。 1 OpenPLC的初步测试 上传plc程序,查看是否能正常运行。 出现编译错误: 有关源码如下: #compiling the ST file into C cd .. 阅读全文
posted @ 2024-02-15 15:53 碳酸钾K2CO3 阅读(502) 评论(0) 推荐(0)