摘要
针对电梯平衡链盘绕设备上的高度传感器与主控PLC之间的数据传输问题,提出了主从两片STM32单片机之间基于NRF24L01无线通信,从单片机与PLC基于Modbus协议采用RS-232接口串口通信的方案。设计了主从STM32单片机系统和硬件电路,给出了PLC主站和从站STM32相关的软件参数配置。测试结果表明:该方案实现了传感器与PLC之间的短距离实时无线数据传输,提高了电梯平衡链盘绕设备的自动化程度。
Considering data transmission between coiling device' s height sensor and PLC of the elevator bal- ancing chain, having communication between master and slave STM32 SCMs realized through NRF24L01 chip and having Modbus protocol and RS-232 bus based to implement interface serial communication between PLC and STM32 SCM were implemented, including the design of master and slave STM 32 SCM' s hardware cir- cuits. The parameter configuration of PLC and STM32 SCMs was presented and tested to carry out short-dis- tance and real-time wireless data transmission between the height sensor and the PLC so as to improve the de- gree of automation of the elevator balance chain' s coiling device.
出处
《化工自动化及仪表》
CAS
2017年第12期1159-1163,共5页
Control and Instruments in Chemical Industry
基金
国家自然科学基金项目(NSFC51335002)