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

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

扫码查看
工控现场的调试一般都与组态/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 de-vice 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 prim-itive 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 pa-per 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.

industrial control general debuggingQtLuadrive file

于佑飞

展开 >

山东泰物信息技术有限公司,山东 济南 250014

工控通用调试 Qt Lua 驱动文件

2024

工业控制计算机
中国计算机学会工业控制计算机专业委员会 江苏省计算技术研究所有限责任公司

工业控制计算机

影响因子:0.258
ISSN:1001-182X
年,卷(期):2024.37(9)