The invention relates to a programmable logic controller hardware expansion method, for solving the problems of the connected PLC needed to pass the artificial coding problems, according to the following steps to expand module for automatic addressing in the invention, the main module to each extension module transmission type to determine the type extension module to deal with the current the choice of the signal; and then from the main module to each expansion module transmits the addressing signal and sends an initial address data; the main module of the initial address data stored in the address that qualify as an extension module of the currently selected type and closest and in position in the follow-up of the same type of expansion module one by one the predetermined value as its own address, finally to meet every one of the currently selected types of extension modules are the only address. In the method of the invention, the communication frame including the check data transmitted by the parallel data bus can also be configured to complete configuration inquiry, input output reading and writing and the like.
【技术实现步骤摘要】
本专利技术涉及可编程逻辑控制器,更具体地说,涉及一种。
技术介绍
可编程逻辑控制器(PLC)在当今的各行各业中具有广泛的应用,例如应用于汽车、化工、纺织等生产设备及过程控制。它由输入端口、处理器和输出端口组成,主要功能是读入输入端口的电信号,然后将其转换为数字信号并送到处理器中按照用户事先设定的逻辑进行处理,然后再将处理结果转换为电信号送到其输出端口,以驱动与之连接的外部设备完成相应的功能,从而可取代传统的继电器控制系统。现有中小型PLC的输入输出端口数(俗称点数)的满配置一般可达256点或更多,且可同时接入模拟量输入输出、高速脉冲输入输出、定位扩展、网络与总线通讯等特殊扩展模块,这些端口及特殊扩展模块无法在一个结构壳体内实现,往往需要设计成主模块加扩展模块的分体结构,通过积木组合方式才能实现,PLC内的主模块与扩展模块之间可靠高效的逻辑连接,是PLC硬件设计的关键之一。PLC的结构大致可有背板结构和逐级连接两种类型。前者为固定地址结构,容易实现扩展逻辑,但其占用安装空间较大,成本较高。而采用逐级连接方式则可使得扩展系统的结构更为紧凑,且可按顺序任意安装,接线 ...
【技术保护点】
一种可编程逻辑控制器硬件扩展方法,所述可编程逻辑控制器中包括主模块和通过扩展母线逐级连接的多个扩展模块,其特征在于,在每一次上电时,所述主模块对与之逐级连接的所述各个扩展模块进行自动编址;在上电之后的工作过程中,所述主模块以 通讯帧的形式发送控制命令;被指定的扩展模块根据收到的通讯帧作出响应,并以通讯帧的形式回传响应信息。
【技术特征摘要】
【专利技术属性】
技术研发人员:周保廷,
申请(专利权)人:艾默生网络能源有限公司,
类型:发明
国别省市:94[中国|深圳]
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。