节点文献

SPI总线扩展PLC输出点数的设计与实现

Design and implementation of extending PLC output points based on SPI bus

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 李磊李正曹凤莲朱腾

【Author】 LI Lei LI Zheng CAO Feng-lian ZHU Teng(School of Physics and Electronic Electrical Engineering, Huaiyin Normal University)

【机构】 淮阴师范学院物理与电子电气工程学院淮安市供电局

【摘要】 针对PLC主模块可用输出点数少的缺点,提出了采用SPI总线和移位寄存器HC595相结合扩展PLC输出点数,并设计了输出扩展电路;根据SPI总线及HC595的时序特点,确定了SPI的时钟模式,解决了时序的配合问题,并确定了输出点数的逻辑顺序;UDTY端接一下拉电阻,保证其处于高电平,SPI2CLK信号取反后输入到HC595,保证其采样到稳定的SPI输出数据,滤波电容,提高了电路抗干扰性能;编程实现对扩展输出点数的控制。实际应用表明,该设计方案经济、可靠。

【Abstract】 In order to provide more available output points for PLC master module and integrate the SPI bus with the shift registers,a new method for extending PLC output points is proposed,and the output expansion circuit is designed.Based on the time serie characteristics of the SPI bus and the shift registers of HC595,select the clock mode of SPI,then matching problem of their series and logical output order are solved.A resistance is connected to UDTY port for insuring it high level,SPI2CLK negated then put into HC595,making sure it get steady data of SPI,improving the circuit anti-interference performances by filter capacitors,the extended output points is controlled by the programming.Practical application indicates that the design method is economic and reliable.

  • 【文献出处】 微计算机信息 ,Microcomputer Information , 编辑部邮箱 ,2012年06期
  • 【分类号】TP273
  • 【下载频次】46
节点文献中: 

本文链接的文献网络图示:

本文的引文网络