张弛,杨明,吕显民
摘 要: AS?i总线可以解决现有工业现场总线走线复杂、连接不便的的问题。为了扩展控制器对AS?i接口的兼容,论述了AS?i的特点并且设计了AS?i通信接口来实现控制器与AS?i网络通信的功能。根据现行GB/T18858.2?2012的规定,选用PIC16F916作为CPU,AS?i 4I?GE?MT作为通信转换接口芯片,实现了控制器与AS?i网络通信的功能。试验表明,该方案设计的接口可与各AS?i模块进行通信。
关键词: AS?i; 现场布线; 通信接口; GB/T18858.2?2012
中图分类号: TN911?34 文献标识码: A 文章编号: 1004?373X(2014)23?0025?03
Abstract: The technology of AS?i can solve the difficulty of wiring in industrial field. To extend the compatibility of the controller with AS?I, the characteristics of AS?i are described in this paper. The communication interface of AS?i was designed to rea?lize the function that the controller communicates with other slaves via AS?i. Based on GB/T18858.2?2012, PIC16F916 was chosen as CPU and AS?i4I?GE?MT as communication converting interface chip to realize the functions of the network communication of controller with AS?i. The testing results show that the interface designed in this paper can communicate with other AS?i mo?dules properly.
Keywords: AS?I; field wiring; communication interface; GB/T18858.2?2012
0 引 言
在工业现场,最初的布线方式为并行走线,但是随着生产对象越来越复杂,所需检测、控制的点越来越多,若采取并行走线的方式,需要大量的线材并且不易于后期维护。AS?i总线采用两线制的底层通信系统,可以很好地解决上述问题,极大地简化安装布线和后期维护工作,并且可以和多种总线相连,从而构成工业控制系统。与其他总线相比,具有走线简洁方便、安装快捷等优点。
1 AS?i系统简介
AS?i(Actuator Sensor Interface)是传感器/执行器接口的缩写,属于底层设备级的总线系统,是一种用来在控制器(主站Master)和传感器/执行器(从站Slave)之间双向交换信息的主从结构监控网络。
1.1 AS?i系统总体结构
AS?i总线的总体结构如图1所示。来自控制器或者上层总线的数据经AS?i主站转换为AS?i特有的信号,与AS?i其他从站进行通信,AS?i电源提供稳定的电源并且提高整个网络的抗干扰能力。根据现行GB/T18858.2?2012标准,AS?i系统是由单个主站和最多62个从站组成的一个主从通信系统,每个从站都有自己特定的地址,它以非易失性的方式存储在从站内嵌的EEPROM中。……