工业控制计算机2024,Vol.37Issue(9) :28-29,114.

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

于佑飞
工业控制计算机2024,Vol.37Issue(9) :28-29,114.

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

于佑飞1
扫码查看

作者信息

  • 1. 山东泰物信息技术有限公司,山东 济南 250014
  • 折叠

摘要

工控现场的调试一般都与组态/PLC厂商捆绑,往往在实际布线前,需要验证设备通信的正常及有效性.而不同软件厂商之间,现场积累的设备通信驱动文件往往也无法复用.原始的设备通信验证方式是使用类似串口/网络调试软件,进行最原始的命令和数据收发,几乎无复用性可言.同时设备的最终参数往往需要在原始的数据之上再进行二次运算.基于现场调试的以上痛点,设计了一款基于Qt的通用调试软件,同时引入了非常适合嵌入在主程序中的Lua脚本,以满足动态计算的部分.最终调试完成后,可保存为压缩包的格式,大大提供了设备驱动的复用性.

Abstract

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.

关键词

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

Key words

industrial control general debugging/Qt/Lua/drive file

引用本文复制引用

出版年

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

工业控制计算机

影响因子:0.258
ISSN:1001-182X
段落导航相关论文