基于Qt及Lua的工控通用调试软件的设计  

在线阅读下载全文

作  者:于佑飞 

机构地区:[1]山东泰物信息技术有限公司,山东济南250014

出  处:《工业控制计算机》2024年第9期28-29,114,共3页Industrial Control Computer

摘  要:工控现场的调试一般都与组态/PLC厂商捆绑,往往在实际布线前,需要验证设备通信的正常及有效性。而不同软件厂商之间,现场积累的设备通信驱动文件往往也无法复用。原始的设备通信验证方式是使用类似串口/网络调试软件,进行最原始的命令和数据收发,几乎无复用性可言。同时设备的最终参数往往需要在原始的数据之上再进行二次运算。基于现场调试的以上痛点,设计了一款基于Qt的通用调试软件,同时引入了非常适合嵌入在主程序中的Lua脚本,以满足动态计算的部分。最终调试完成后,可保存为压缩包的格式,大大提供了设备驱动的复用性。Debugging on the industrial control site is generally bundled with the configuration/PLC manufacturer,and it is often necessary to verify the normal and effective communication of the equipment before actual wiring.However,the device communication driver files accumulated on site between different software manufacturers often cannot be reused.The original device communication verification method is to use similar serial port/network debugging software for the most primitive command and data transmission,with almost no reusability.At the same time,the final parameters of the device often require secondary calculations on top of the original data.Based on the above pain points of on-site debugging,this paper designs a general debugging software based on Qt,and introduces a Lua script that is very suitable for embedding in the main program to meet the requirements of dynamic computing.

关 键 词:工控通用调试 QT LUA 驱动文件 

分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象