工业机器人控制系统日志插件设计与应用
Design and Application of Log Plugin in Industrial Robot Control System
陈绵鹏 1李其伟 1韩焕丽 1张军1
作者信息
- 1. 广州数控设备有限公司,广东广州 510535
- 折叠
摘要
针对工业机器人控制系统信息监控不足,问题复现困难等问题,设计了一种插件式的日志记录方案.该方案基于异步、轻量化及多模块并发的原则,提供接口给系统的各个模块,记录各模块生成的一条条日志记录,并将其存入系统的日志文件或其他存储介质中.方案还实现了日志文件的自动滚动和覆盖,避免了日志文件过度占用系统资源.通过便捷灵活的信息记录,为工业机器人控制过程中的故障诊断提供了重要依据.
Abstract
A log plugin solution was designed to address issues such as insufficient information monitoring and difficulty in reproducing problems in industrial robot control systems.Based on the principles of asynchronous,lightweight and multi-mod-ule concurrency,the solution provides interfaces to each module of the system.The log plug-in module records the log records generated by each module and saves them to the log files or other storage media of the system.The solution also re-alizes the function of automatic scrolling and overwriting of log files to avoid the excessive use of system resources.The con-venient and flexible log information provides an important basis for fault diagnosis in the control process of industrial robots.
关键词
日志/异步缓存/文件备份Key words
log/asynchronous caching/log backup引用本文复制引用
基金项目
面向汽车行业的国产高性能焊接机器人技术攻关项目()
出版年
2024