CN107807629A - Identification Method of Faulty Programmable Logic Control Module in Programmable Control System - Google Patents
Identification Method of Faulty Programmable Logic Control Module in Programmable Control System Download PDFInfo
- Publication number
- CN107807629A CN107807629A CN201711092032.9A CN201711092032A CN107807629A CN 107807629 A CN107807629 A CN 107807629A CN 201711092032 A CN201711092032 A CN 201711092032A CN 107807629 A CN107807629 A CN 107807629A
- Authority
- CN
- China
- Prior art keywords
- buckle
- module
- groove
- signal
- logic module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 25
- 238000006243 chemical reaction Methods 0.000 claims abstract description 44
- 238000004891 communication Methods 0.000 claims description 57
- 238000009413 insulation Methods 0.000 claims description 4
- 238000001514 detection method Methods 0.000 claims description 2
- 230000008034 disappearance Effects 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 11
- 230000009977 dual effect Effects 0.000 description 5
- 238000012544 monitoring process Methods 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 2
- 230000004397 blinking Effects 0.000 description 1
- 230000000903 blocking effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000009422 external insulation Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012856 packing Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B23/00—Testing or monitoring of control systems or parts thereof
- G05B23/02—Electric testing or monitoring
- G05B23/0205—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
- G05B23/0208—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
- G05B23/0213—Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Programmable Controllers (AREA)
Abstract
Description
【技术领域】【Technical field】
本发明涉及可编程逻辑控制技术领域,特别涉及一种可编程逻辑控制系统中故障可编程逻辑控制模块的识别方法。The invention relates to the technical field of programmable logic control, in particular to a method for identifying faulty programmable logic control modules in a programmable logic control system.
【背景技术】【Background technique】
可编程逻辑控制器(Programmable Logic Controller)是种专门为在工业环境下应用而设计的数字运算操作电子系统。它采用一种可编程的存储器,在其内部存储执行逻辑运算、顺序控制、定时、计数和算术运算等操作的指令,通过数字式或模拟式的输入输出来控制各种类型的机械设备或生产过程。Programmable Logic Controller (Programmable Logic Controller) is a digital computing operation electronic system specially designed for application in industrial environments. It uses a programmable memory to store instructions for performing logic operations, sequence control, timing, counting, and arithmetic operations, and controls various types of mechanical equipment or production through digital or analog input and output. process.
现有的可编程逻辑控制模块不含开关电源,无法对外接电源的绝缘低进行有效故障隔离;外部绝缘低会损坏内部供电的芯片模块。现有的可编程逻辑控制模块单个模块采集点少,单个分站的容量小,且成本贵/扩展困难。现有的可编程逻辑控制模块传输至计算机工作后,无法对总线中的故障模块进行监测,无法快速找到故障模块。The existing programmable logic control module does not contain a switching power supply, which cannot effectively isolate the fault of the external power supply with low insulation; the low external insulation will damage the internal power supply chip module. The existing programmable logic control module has few collection points for a single module, the capacity of a single substation is small, and the cost is expensive/difficult to expand. After the existing programmable logic control module is transmitted to the computer to work, it cannot monitor the faulty modules in the bus, and cannot quickly find the faulty modules.
因此,有必要提供一种改进的技术方案来克服上述问题中的一个或多个。Therefore, it is necessary to provide an improved technical solution to overcome one or more of the above problems.
【发明内容】【Content of invention】
本发明的目的在于提供一种可编程逻辑控制系统中故障可编程逻辑控制模块的识别方法,其可以对总线中出故障的可编程逻辑控制模块进行监测,并快速找到故障模块。The purpose of the present invention is to provide a method for identifying a faulty programmable logic control module in a programmable logic control system, which can monitor the faulty programmable logic control module in the bus and quickly find the faulty module.
为了解决上述问题,本发明提供一种可编程控制系统中故障可编程逻辑控制模块的识别方法,其包括:转换模块以预定时间周期给与其对应的可编程逻辑控制模块发送随机心跳信号;所述对应的可编程逻辑控制模块接收到所述转换模块发出的心跳信号后,发送指定格式的数据信号给所述转换模块,所述数据信号包括地址信号、电流/电压信号和所述对应的可编程逻辑控制模块接收到的心跳信号,其中,所述电流/电压信号为所述对应的可编程逻辑控制模块接收到的外部信号;所述地址信号为所述对应的可编程逻辑控制模块中的微处理器自我检测后得到的信号,所述转换模块接收到对应的可编程逻辑控制模块发送的数据信号后,检测接收到的数据信号中的心跳信号是否正确;若所述转换模块检测到随数据信号返还的心跳信号消失或错误,则判断对应的可编程逻辑控制模块可能存在故障。In order to solve the above problems, the present invention provides a method for identifying a faulty programmable logic control module in a programmable control system, which includes: the conversion module sends a random heartbeat signal to its corresponding programmable logic control module in a predetermined time period; After the corresponding programmable logic control module receives the heartbeat signal sent by the conversion module, it sends a data signal in a specified format to the conversion module, and the data signal includes an address signal, a current/voltage signal and the corresponding programmable The heartbeat signal received by the logic control module, wherein the current/voltage signal is an external signal received by the corresponding programmable logic control module; the address signal is the microcomputer in the corresponding programmable logic control module The signal obtained after the self-detection of the processor, after the conversion module receives the data signal sent by the corresponding programmable logic control module, detects whether the heartbeat signal in the received data signal is correct; If the heartbeat signal returned by the signal disappears or is wrong, it is determined that the corresponding programmable logic control module may be faulty.
进一步的,所述可编程控制系统包括第一工作站、第二工作站和多个可编程逻辑控制子系统,每个可编程逻辑控制子系统包括第一转换模块、第二转换模块和M个可编程逻辑控制模块,每个可编程逻辑控制模块通过CAN总线与第一转换模块相连,所述第一转换模块通过以太网与第一工作站相连;每个可编程逻辑控制模块通过CAN总线与第二转换模块相连,所述第二转换模块通过以太网与第二工作站相连,其中,M为自然数,每个可编程逻辑控制模块接收多个电流/电压信号,并对接收到的多个电流/电压信号进行处理,以产生并输出数据信号;所述数据信号通过第一CAN总线传输给所述第一转换模块,所述第一转换模块将其接收到的数据信号由CAN格式转换为NET格式,该NET格式的数据信号再通过以太网传输给第一工作站;所述数据信号通过第二CAN总线传输给所述第二转换模块,所述第二转换模块将其接收到的数据信号由CAN格式转换为NET格式,该NET格式的数据信号再通过以太网传输给第二工作站。Further, the programmable control system includes a first workstation, a second workstation and a plurality of programmable logic control subsystems, and each programmable logic control subsystem includes a first conversion module, a second conversion module and M programmable Logic control module, each programmable logic control module is connected with the first conversion module through CAN bus, and the first conversion module is connected with the first workstation through Ethernet; each programmable logic control module is connected with the second conversion module through CAN bus The modules are connected, and the second conversion module is connected to the second workstation through Ethernet, wherein, M is a natural number, and each programmable logic control module receives multiple current/voltage signals, and the received multiple current/voltage signals Process to generate and output data signals; the data signals are transmitted to the first conversion module through the first CAN bus, and the first conversion module converts the data signals it receives from the CAN format to the NET format, the The data signal of NET format is transmitted to the first workstation through Ethernet; The data signal is transmitted to the second conversion module through the second CAN bus, and the second conversion module converts the data signal it receives by CAN format NET format, and the data signal in the NET format is transmitted to the second workstation through Ethernet.
进一步的,所述可编程逻辑控制模块通讯模块、微处理器和输入/输出模块,所述输入/输出模块包括N个电压/电流信号接口,其用于接收或发送外部电压/电流信号,所述N为自然数;所述通讯模块包括第一CAN通讯模块和第二CAN通讯模块,所述微处理器与输入/输出模块、第一CAN通讯模块和第二CAN通讯模块相连,所述输入/输出模块将其接收到的外部电流/电压信号提供给所述微处理器,所述微处理器对其接收到的外部电流/电压信号进行处理以形成数据信号,并将所述数据信号分别提供给第一CAN通讯模块和第二CAN通讯模块,所述第一CAN通讯模块将其接收到的数据信号转换成CAN格式的数据信号,再通过第一CAN总线传输给第一转换模块;所述第二CAN通讯模块将其接收到的数据信号转换成CAN格式的数据信号,再通过第二CAN总线传输给第二转换模块。Further, the programmable logic control module communication module, microprocessor and input/output module, the input/output module includes N voltage/current signal interfaces, which are used to receive or send external voltage/current signals, so Said N is a natural number; said communication module comprises a first CAN communication module and a second CAN communication module, said microprocessor is connected with an input/output module, a first CAN communication module and a second CAN communication module, said input/output The output module provides the external current/voltage signal it receives to the microprocessor, and the microprocessor processes the external current/voltage signal it receives to form a data signal, and provides the data signal respectively For the first CAN communication module and the second CAN communication module, the first CAN communication module converts the data signal it receives into a CAN format data signal, and then transmits it to the first conversion module through the first CAN bus; The second CAN communication module converts the received data signal into a CAN format data signal, and then transmits it to the second conversion module through the second CAN bus.
进一步的,所述可编程逻辑控制模块还包括电源模块,所述电源模块包括开关电源,所述开关电源的输入端与外接电源相连,其输出端给该可编程逻辑控制模块内的器件供电,且所述开关电源对外接电源的绝缘低进行隔离,所述M≤16,所述N等于12。Further, the programmable logic control module also includes a power supply module, the power supply module includes a switching power supply, the input terminal of the switching power supply is connected to an external power supply, and its output terminal supplies power to devices in the programmable logic control module, In addition, the switching power supply is isolated from the external power supply, the M≤16, and the N is equal to 12.
进一步的,所述可编程逻辑控制模块包括卡扣、形成于所述可编程逻辑控制模块背面的凹槽和位于所述凹槽外侧的收容槽,所述收容槽自所述可编程逻辑控制模块背面的一侧延伸至所述凹槽,当所述卡扣收容于所述收容槽内时,所述卡扣的脚部外露于所述凹槽内,以将所述可编程逻辑控制模块固定于位于所述凹槽处的固定件上。Further, the programmable logic control module includes a buckle, a groove formed on the back of the programmable logic control module, and a receiving groove located outside the groove, and the receiving groove is formed from the programmable logic control module One side of the back extends to the groove, and when the buckle is accommodated in the receiving groove, the feet of the buckle are exposed in the groove to fix the programmable logic control module on the fixing piece located at the groove.
进一步的,所述收容槽包括自所述可编程逻辑控制模块背面的一侧向所述凹槽方向延伸的第一收容槽部、自所述第一收容槽部的末端继续向所述凹槽方向延伸直至所述凹槽的第二收容槽部、位于所述收容槽中部的挡块,其中,所述第二收容槽的侧壁上形成有导引槽;所述卡扣包括卡扣本体、位于卡扣本体顶端的头部、位于卡扣本体底端的脚部、位于卡扣本体的头部两侧的肩部以及位于卡扣本体两侧且位于所述肩部和脚部之间的导引部;所述卡扣本体包括贯穿所述卡扣本体厚度方向的空腔、自所述卡扣本体延伸形成的且位于所述空腔内的弹性夹和指部;所述卡扣收容于所述收容槽内,并可在卡固位置和解卡位置之间移动,当所述卡扣处于卡固位置时,所述卡扣的肩部收容于所述第一收容槽部内、且所述卡扣的肩部的底端抵于所述第二收容槽部的侧壁顶端;所述导引部收容于所述第二收容槽部的导引槽内;所述弹性夹的开口夹持于所述挡块的最宽部分的第一侧,所述指部远离所述挡块;所述卡扣的脚部外露于所述凹槽内,以使所述可编程逻辑控制模块固定于位于所述凹槽处的固定件600上,当所述卡扣处于解卡位置时,所述卡扣的部分肩部退出所述第一收容槽部、且所述卡扣的肩部的底端退离所述第二收容槽部的侧壁顶端;所述弹性夹的开口夹持于所述挡块的最宽部分的第二侧;所述指部靠近所述挡块并被所述挡块阻挡;所述卡扣的脚部退入所述第二收容槽部内,以使得所述可编程逻辑控制模块脱离于位于所述凹槽处的固定件,在所述卡扣由解卡位置移动至卡固位置时,所述弹性夹的开口由所述挡块的最宽部分的第二侧经过所述挡块的最宽部分移动到所述挡块的最宽部分的第一侧。Further, the storage groove includes a first storage groove part extending from one side of the back of the programmable logic control module to the direction of the groove, and continues from the end of the first storage groove part to the groove. The direction extends to the second receiving groove part of the groove, and the stopper located in the middle of the receiving groove, wherein a guide groove is formed on the side wall of the second receiving groove; the buckle includes a buckle body , the head at the top of the buckle body, the feet at the bottom of the buckle body, the shoulders on both sides of the head of the buckle body, and the shoulders on both sides of the buckle body between the shoulders and the feet Guide part; the buckle body includes a cavity through the thickness direction of the buckle body, an elastic clip and a finger extending from the buckle body and located in the cavity; the buckle accommodates in the receiving groove, and can move between the locked position and the unlocked position. When the buckle is in the locked position, the shoulder of the buckle is accommodated in the first receiving groove, and the The bottom end of the shoulder of the buckle abuts against the top end of the side wall of the second receiving groove; the guide part is accommodated in the guiding groove of the second receiving groove; the opening clip of the elastic clip is held on the first side of the widest part of the block, and the fingers are away from the block; the feet of the buckle are exposed in the groove, so that the programmable logic control module is fixed On the fixing member 600 located at the groove, when the buckle is in the release position, part of the shoulder of the buckle withdraws from the first receiving groove, and the shoulder of the buckle The bottom end retreats from the top end of the side wall of the second receiving groove; the opening of the elastic clip is clamped on the second side of the widest part of the stop; the finger is close to the stop and is held by the stop The stopper is blocked; the foot of the buckle retreats into the second receiving groove, so that the programmable logic control module is separated from the fixing part at the groove, and the buckle is released from the When the card position moves to the clamping position, the opening of the elastic clip moves from the second side of the widest part of the stopper through the widest part of the stopper to the first side of the widest part of the stopper. side.
进一步的,所述弹性夹自所述卡扣本体的空腔的靠近卡扣的头部的一侧延伸而成,所述指部自所述卡扣本体的空腔的靠近卡扣的脚部的一侧延伸而成;所述挡块与所述指部相邻的一端形成有凹口,当所述卡扣处于卡固位置时,所述指部的部分收容于所述挡块的凹口5362、且所述指部的末端与所述挡块的凹口的底部保持有一定的距离;当所述卡扣处于解卡位置时,所述指部5254的末端抵靠住所述挡块的凹口的底部。Further, the elastic clip extends from the side of the cavity of the buckle body close to the head of the buckle, and the fingers extend from the foot of the cavity of the buckle body close to the buckle One side of the block is extended; the end adjacent to the finger is formed with a notch, and when the buckle is in the fastened position, the finger part is accommodated in the recess of the block The opening 5362, and the end of the finger part is kept at a certain distance from the bottom of the notch of the stopper; when the buckle is in the unlocking position, the end end of the finger part 5254 is against the stopper bottom of the notch.
进一步的,所述第一收容槽部的宽度大于所述第二收容槽宽度,所述卡扣本体的肩部的厚度大于所述引导部的厚度;可编程逻辑控制模块的背面上位于所述凹槽的一侧,形成有若干个所述的收容槽,可编程逻辑控制模块还包括自所述凹槽的另一侧的可编程逻辑控制模块的背面部分延伸至凹槽上方的若干个相互间隔的卡片,通过所述卡片将所述可编程逻辑控制模块挂靠于所述凹槽处的固定件上,所述卡扣还包括形成于所述卡扣背面的槽道,所述卡扣的背面为紧邻所述收容槽底部的端面,所述槽道位于所述卡扣本体的空腔和卡扣的脚部之间,在所述卡扣插入或抽离所述收容槽时,所述挡块穿过所述槽道。Further, the width of the first receiving groove is larger than the width of the second receiving groove, the thickness of the shoulder of the buckle body is larger than the thickness of the guide part; the programmable logic control module is located on the back of the One side of the groove is formed with a plurality of said receiving grooves, and the programmable logic control module also includes several mutually extending from the back part of the programmable logic control module on the other side of the groove to the top of the groove. spaced cards, through which the programmable logic control module hangs on the fixing member at the groove, the buckle also includes a channel formed on the back of the buckle, the buckle The back side is the end surface close to the bottom of the storage tank, the channel is located between the cavity of the buckle body and the feet of the buckle, when the buckle is inserted into or pulled out of the storage tank, the The stopper passes through the channel.
与现有技术相比,本发明中的转换模块以固定时间周期给接收模块发送心跳信号,可编程逻辑控制模块接收到转换模块随机发出的心跳信号之后,连同正常电流电压信号和心跳信号,一起打包发送给转换模块,转换模块检测心跳信号是否正确,若是心跳信号错误,则判定该对应的接收模块可能发生故障。这样,本发明就可以对总线中出故障的可编程逻辑控制模块进行监测,并快速找到故障模块。Compared with the prior art, the conversion module in the present invention sends a heartbeat signal to the receiving module at a fixed time period, and after the programmable logic control module receives the heartbeat signal randomly sent by the conversion module, together with the normal current voltage signal and the heartbeat signal, Packing and sending to the conversion module, the conversion module detects whether the heartbeat signal is correct, if the heartbeat signal is wrong, it determines that the corresponding receiving module may be faulty. In this way, the present invention can monitor the faulty programmable logic control module in the bus, and quickly find the faulty module.
【附图说明】【Description of drawings】
为了更清楚地说明本发明实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其它的附图。其中:In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without any creative effort. in:
图1为本发明在一个实施例中的可编程逻辑控制系统的结构示意图;Fig. 1 is the structural representation of the programmable logic control system in one embodiment of the present invention;
图2为图1中的一个可编程逻辑控制模块在一个实施例中的电路示意图;Fig. 2 is a schematic circuit diagram of a programmable logic control module in Fig. 1 in an embodiment;
图3为图2所示的可编程逻辑控制模块在一个实施例中的俯视图;Fig. 3 is a top view of the programmable logic control module shown in Fig. 2 in one embodiment;
图4为图1所示的可编程逻辑控制系统中的故障可编程逻辑控制模块的识别方法的流程示意图;Fig. 4 is a schematic flowchart of a method for identifying a faulty programmable logic control module in the programmable logic control system shown in Fig. 1;
图5为本发明在一个实施例中的可编程逻辑控制模块的背面结构的爆炸图;Fig. 5 is an exploded view of the back structure of the programmable logic control module in one embodiment of the present invention;
图6为图5所示的可编程逻辑控制模块在卡扣处于卡固位置时的结构示意图;Fig. 6 is a schematic structural diagram of the programmable logic control module shown in Fig. 5 when the buckle is in the fastened position;
图7为图5所示的可编程逻辑控制模块在卡扣处于解卡位置时的结构示意图;Fig. 7 is a schematic diagram of the structure of the programmable logic control module shown in Fig. 5 when the buckle is in the unlocking position;
图8为图1所示的卡扣的背面在一个实施例中的结构示意图;Fig. 8 is a schematic structural view of the back of the buckle shown in Fig. 1 in an embodiment;
图9为图10中的一个固定件上安装有多个可编程逻辑控制模块的背面结构示意图;Fig. 9 is a schematic diagram of the rear structure of a plurality of programmable logic control modules installed on a fixture in Fig. 10;
图10为本发明在一个实施例中的可编程逻辑控制架的结构示意图。FIG. 10 is a schematic structural diagram of a programmable logic control rack in an embodiment of the present invention.
【具体实施方式】【Detailed ways】
为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明作进一步详细的说明。In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
此处所称的“一个实施例”或“实施例”是指可包含于本发明至少一个实现方式中的特定特征、结构或特性。在本说明书中不同地方出现的“在一个实施例中”并非均指同一个实施例,也不是单独的或选择性的与其他实施例互相排斥的实施例。除非特别说明,本文中的连接、相连、相接的表示电性连接的词均表示直接或间接电性相连。Reference herein to "one embodiment" or "an embodiment" refers to a particular feature, structure or characteristic that can be included in at least one implementation of the present invention. "In one embodiment" appearing in different places in this specification does not all refer to the same embodiment, nor is it a separate or selective embodiment that is mutually exclusive with other embodiments. Unless otherwise specified, the words connected, connected, and joined in this document mean that they are electrically connected directly or indirectly.
(一)采用双CAN总线通讯的可编程逻辑控制系统和可编程逻辑控制子系统(1) Programmable logic control system and programmable logic control subsystem using dual CAN bus communication
请参考图1所示,其为本发明在一个实施例中的可编程逻辑控制系统的结构示意图。图1所示的可编程逻辑控制系统包括第一工作站110(简写为1#工作站)、第二工作站120(简写为2#工作站)和多个可编程逻辑控制子系统(未标注)。Please refer to FIG. 1 , which is a schematic structural diagram of a programmable logic control system in an embodiment of the present invention. The programmable logic control system shown in FIG. 1 includes a first workstation 110 (abbreviated as 1# workstation), a second workstation 120 (abbreviated as 2# workstation) and multiple programmable logic control subsystems (not labeled).
每个可编程逻辑控制子系统包括第一转换模块122(即CAN转NET模块122)、第二转换模块124(即CAN转NET模块124)和M个可编程逻辑控制模块130,M为自然数,且M≤16。第一转换模块122和第二转换模块124均为CAN(Controller Area Network,控制器局域网络)转NET(Ethernet,以太网)模块。每个可编程逻辑控制子系统中的任意一个可编程逻辑控制模块130通过第一CAN总线(CNABUS1)与CAN转NET模块122相连,CAN转NET模块122通过以太网经第一交换机142与第一工作站110相连;任意一个可编程逻辑控制模块130通过第二CAN总线(CNABUS2)与CAN转NET模块124相连,CAN转NET模块124通过以太网经第二交换机144与第二工作站120相连。Each programmable logic control subsystem includes a first conversion module 122 (i.e. CAN to NET module 122), a second conversion module 124 (i.e. CAN to NET module 124) and M programmable logic control modules 130, M is a natural number, And M≤16. Both the first conversion module 122 and the second conversion module 124 are CAN (Controller Area Network, controller area network) to NET (Ethernet, Ethernet) modules. Any programmable logic control module 130 in each programmable logic control subsystem is connected to the CAN to NET module 122 through the first CAN bus (CNABUS1), and the CAN to NET module 122 is connected to the first switch 142 through the Ethernet through the first switch 142. The workstations 110 are connected; any programmable logic control module 130 is connected to the CAN to NET module 124 through the second CAN bus (CNABUS2), and the CAN to NET module 124 is connected to the second workstation 120 through the second switch 144 through Ethernet.
每个可编程逻辑控制模块130接收多个电流/电压信号,并对接收到的多个电流/电压信号进行处理,以产生并输出数据信号。所述数据信号通过第一CAN总线传输给CAN转NET模块122,CAN转NET模块122将其接收到的数据信号由CAN格式转换为NET格式,NET格式的数据信号再通过以太网传输给第一工作站110;所述数据信号通过第二CAN总线传输给CAN转NET模块124,所述CAN转NET模块124将其接收到的数据信号由CAN格式转换为NET格式,NET格式的数据信号再通过以太网传输给第二工作站120。Each programmable logic control module 130 receives multiple current/voltage signals, and processes the received multiple current/voltage signals to generate and output data signals. Described data signal is transmitted to CAN to NET module 122 by the first CAN bus, and CAN to NET module 122 converts the data signal that it receives into NET format by CAN format, and the data signal of NET format is transmitted to the first through Ethernet again. Workstation 110; Described data signal is transmitted to CAN to NET module 124 by the second CAN bus, and described CAN turns to NET module 124 and converts the data signal that it receives to NET format by CAN format, and the data signal of NET format passes through Ethernet again The network is transmitted to the second workstation 120.
本发明中,可编程逻辑控制模块130通过CAN总线(第一CAN总线、第二CAN总线)与转换模块(CAN转NET模块122、CAN转NET模块124)通讯,由于CAN总线通讯比其他总线形式传输数据的速度快,数据通过CAN转NET模块122、124后,能快速将数据传输至计算机工作进行集中监控(转换模块通过以太网连接交换机),具有良好的交互性;采用双CAN总线通讯,做到数据的冗余,双CAN总线通讯可以分别通过不同的CAN转NET模块分别进第一计算机工作站110和第二计算机工作站120,这样可以分别对接入点进行冗余监控,第一计算机工作站110和第二计算机工作站120也可以做有效的冗余,实现最安全的监控。In the present invention, the programmable logic control module 130 communicates with the conversion module (CAN to NET module 122, CAN to NET module 124) through the CAN bus (the first CAN bus, the second CAN bus). The speed of data transmission is fast. After the data passes through the CAN to NET modules 122 and 124, the data can be quickly transmitted to the computer for centralized monitoring (the conversion module is connected to the switch through Ethernet), and has good interactivity; it adopts dual CAN bus communication, To achieve data redundancy, the dual CAN bus communication can enter the first computer workstation 110 and the second computer workstation 120 respectively through different CAN to NET modules, so that redundant monitoring of the access points can be performed respectively, and the first computer workstation 110 and the second computer workstation 120 can also be effectively redundant to achieve the most secure monitoring.
本发明采用模块化设计电路,单个可编程逻辑控制模块130(具体请参见下文对图2的描述)能接收12个电流或电压信号,利用可编程逻辑控制模块130自身的微处理器将数据通过双CAN总线(即冗余的CAN总线)进行传输,同时一个分站(子系统)可以容纳16块这样的可编程逻辑控制模块130,这样一个分站可以有192个点接入,这192个点通过CAN转NET模块122、124转换后至计算机工作站集中监控,通过扩展n个CAN转NET模块可以有n个192点输入,系统可接收容量可以通过这种扩展方式无限扩展下去,这里的n可以为大于2的自然数。The present invention adopts a modular design circuit, and a single programmable logic control module 130 (see the description of FIG. Dual CAN bus (i.e. redundant CAN bus) for transmission, while a substation (subsystem) can accommodate 16 such programmable logic control modules 130, such a substation can have 192 points to access, these 192 The points are converted by CAN to NET modules 122 and 124 and then transferred to the computer workstation for centralized monitoring. By expanding n CAN to NET modules, there can be n 192 points of input, and the system’s receivable capacity can be expanded infinitely through this expansion method. Here, n Can be a natural number greater than 2.
(二)可编程逻辑控制模块的内部结构(2) The internal structure of the programmable logic control module
请参考图2所示,其为图1中的一个可编程逻辑控制模块在一个实施例中的电路示意图。图2所示的可编程逻辑控制模块包括输入/输出模块210、通讯模块(未标注)和微处理器(CPU,也称中央处理器)。Please refer to FIG. 2 , which is a schematic circuit diagram of a programmable logic control module in FIG. 1 in an embodiment. The programmable logic control module shown in FIG. 2 includes an input/output module 210, a communication module (not marked) and a microprocessor (CPU, also called a central processing unit).
所述输入/输出模块210包括N个电流/电压信号接口IN,其用于接收或发送电流/电压信号,所述N为自然数,在图2所示的具体实施例中,所述输入/输出模块210包括12个电流/电压信号接口IN,且其接收电流/电压信号的范围为4~20mA or 0~10V。所述通讯模块包括第一CAN通讯模块222、第二CAN通讯模块224,所述微处理器与输入/输出模块210、第一CAN通讯模块222和第二CAN通讯模块224相连。The input/output module 210 includes N current/voltage signal interfaces IN, which are used to receive or send current/voltage signals, and the N is a natural number. In the specific embodiment shown in FIG. 2, the input/output The module 210 includes 12 current/voltage signal interfaces IN, and the range of receiving current/voltage signals is 4-20mA or 0-10V. The communication module includes a first CAN communication module 222 and a second CAN communication module 224 , and the microprocessor is connected to the input/output module 210 , the first CAN communication module 222 and the second CAN communication module 224 .
所述输入/输出模块210将其接收到的外部电流/电压信号提供给所述微处理器,所述微处理器对其接收到的外部电流/电压信号进行处理以形成数据信号,并将所述数据信号分别提供给第一CAN通讯模块222和第二CAN通讯模块224。所述第一CAN通讯模块222将其接收到的数据信号转换成CAN格式的数据信号,再通过第一CAN总线传输该CAN格式的数据信号给第一转换模块122;所述第二CAN通讯模块224将其接收到的数据信号转换成CAN格式的数据信号,再通过第二CAN总线传输该CAN格式的数据信号给第二转换模块124。这样,图2所示的可编程逻辑控制模块就可以实现与第一转换模块122和第二转换模块124间的双CAN总线通讯。The input/output module 210 provides the received external current/voltage signal to the microprocessor, and the microprocessor processes the received external current/voltage signal to form a data signal, and converts the received external current/voltage signal to the microprocessor. The above data signals are provided to the first CAN communication module 222 and the second CAN communication module 224 respectively. The first CAN communication module 222 converts the data signal it receives into a CAN format data signal, and then transmits the CAN format data signal to the first conversion module 122 through the first CAN bus; the second CAN communication module The 224 converts the received data signal into a CAN format data signal, and then transmits the CAN format data signal to the second conversion module 124 through the second CAN bus. In this way, the programmable logic control module shown in FIG. 2 can realize dual CAN bus communication with the first conversion module 122 and the second conversion module 124 .
在图2所示的具体实施例中,所述第一CAN通讯模块222包括第一通讯输入接口1#CAN IN和第一通讯输出接口1#CAN OUT,且第一通讯输入接口1#CAN IN和第二通讯输出接口1#CAN OUT通过第一CAN总线与第一转换模块122相连;所述第二CAN通讯模块224包括第二通讯输入接口2#CAN IN和第二通讯输出接口2#CAN OUT,且第二通讯输入接口2#CAN IN和第二通讯输出接口2#CAN OUT通过第一CAN总线与第二转换模块124相连。In the specific embodiment shown in Figure 2, the first CAN communication module 222 includes a first communication input interface 1#CAN IN and a first communication output interface 1#CAN OUT, and the first communication input interface 1#CAN IN and the second communication output interface 1#CAN OUT are connected to the first conversion module 122 through the first CAN bus; the second CAN communication module 224 includes the second communication input interface 2#CAN IN and the second communication output interface 2#CAN OUT, and the second communication input interface 2#CAN IN and the second communication output interface 2#CAN OUT are connected to the second conversion module 124 through the first CAN bus.
请继续参考图2所示,图2所示的可编程逻辑控制模块还包括所述电源模块(未标注),所述电源模块包括开关电源232,所述开关电源232的输入端与外接电源相连,其输出端给该可编程逻辑控制模块内的器件供电,且所述开关电源232对外接电源的绝缘低进行隔离,从而用一个开关电源进行变压以达到对外接电源的绝缘低进行有效故障隔离。在一个实施例中,所述开关电源232通过控制开关管的导通和关断,对其输入端接收到的电压进行变压,以通过其输出端输出稳定的输出电压。Please continue to refer to Fig. 2, the programmable logic control module shown in Fig. 2 also includes the power module (not marked), the power module includes a switching power supply 232, and the input end of the switching power supply 232 is connected to an external power supply , the output end of which supplies power to the devices in the programmable logic control module, and the switching power supply 232 isolates the low insulation of the external power supply, so that a switching power supply is used to transform the voltage to achieve effective failure of the low insulation of the external power supply isolation. In one embodiment, the switching power supply 232 transforms the voltage received at its input terminal by controlling the switch tube to be turned on and off, so as to output a stable output voltage through its output terminal.
请继续参考图2所示,图2所示的可编程逻辑控制模块中的所述电源模块还包括第一变压电源234和第二变压电源236。Please continue to refer to FIG. 2 , the power module in the programmable logic control module shown in FIG. 2 also includes a first variable voltage power supply 234 and a second variable voltage power supply 236 .
所述第一变压电源234的输入端与所述开关电源232的输出端相连,所述第一变压电源234的输出端与所述第一CAN通讯模块222的电源端相连,所述第一变压电源234用于对其输入端接收到的电压进行变压,以得到变压电压,并通过其输出端输出该变压电压。所述第二变压电源236的输入端与所述开关电源232的输出端相连,所述第二变压电源236的输出端与所述第二CAN通讯模块224的电源端相连,所述第二变压电源236用于对其输入端接收到的电压进行变压,以得到变压电压,并通过其输出端输出该变压电压。The input terminal of the first variable voltage power supply 234 is connected to the output terminal of the switching power supply 232, the output terminal of the first variable voltage power supply 234 is connected to the power supply terminal of the first CAN communication module 222, and the first A variable voltage power supply 234 is used to transform the voltage received at its input end to obtain a transformed voltage, and output the transformed voltage through its output end. The input terminal of the second variable voltage power supply 236 is connected to the output terminal of the switching power supply 232, the output terminal of the second variable voltage power supply 236 is connected to the power supply terminal of the second CAN communication module 224, and the first The second variable voltage power supply 236 is used to transform the voltage received at its input end to obtain a transformed voltage, and output the transformed voltage through its output end.
其中,开关电源232、第一变压电源234和第二变压电源236可以采用已有的电源电路和变压电路的技术,故在此不再赘述。Among them, the switching power supply 232 , the first variable voltage power supply 234 and the second variable voltage power supply 236 can adopt existing power supply circuit and voltage transformation circuit technology, so it will not be repeated here.
在一个具体的实施例中,所述外接电源为24V的直流电源;所述开关电源232为24V转3V的开关电源;所述第一变压电源234和第二变压电源236为3V转5V的变压电源。In a specific embodiment, the external power supply is a 24V DC power supply; the switching power supply 232 is a 24V to 3V switching power supply; the first variable voltage power supply 234 and the second variable voltage power supply 236 are 3V to 5V variable voltage power supply.
(三)可编程逻辑控制模块的指示灯结构(3) Indicator light structure of the programmable logic control module
请参考图2所示,其显示了本发明中的可编程逻辑控制模块的指示灯的内部结构,请参考图3所示,其为图2所示的可编程逻辑控制模块在一个实施例中的俯视图,其显示了可编程逻辑控制模块的指示灯的外部结构。Please refer to Figure 2, which shows the internal structure of the indicator light of the programmable logic control module in the present invention, please refer to Figure 3, which is the programmable logic control module shown in Figure 2 in one embodiment A top view of , which shows the external structure of the indicator light of the programmable logic control module.
结合图2和图3所示,本发明中的可编程逻辑控制模块的指示灯包括第一发光二极管D1、第二发光二极管D2、第三发光二极管D3、第四发光二极管D4和第五发光二极管D5,以及与所述输入/输出模块210的N个电流/电压信号接口对应的2N个发光二极管。As shown in FIG. 2 and FIG. 3 , the indicator light of the programmable logic control module in the present invention includes a first light-emitting diode D1, a second light-emitting diode D2, a third light-emitting diode D3, a fourth light-emitting diode D4 and a fifth light-emitting diode D5, and 2N light emitting diodes corresponding to the N current/voltage signal interfaces of the input/output module 210 .
其中,所述第一CAN通讯模块222与第一发光二极管D1(Tx表示发数据)和第二发光二极管D2(Rx表示接收数据)相连,第一发光二极管D1用于显示所述第一CAN通讯模块222发送数据是否有故障;第二发光二极管D2用于显示所述第一CAN通讯模块222接收数据是否有故障。同理,所述第二CAN通讯模块224与第三发光二极管D3(Tx)和第四发光二极管D4(Rx)相连,第三发光二极管D3用于显示所述第二CAN通讯模块224发送数据是否有故障;第四发光二极管D4用于显示所述第二CAN通讯模块224接收数据是否有故障。在一个实施例中,所述第一发光二极管D1至第四发光二极管D4通过是否闪烁来显示对应的CAN通讯模块接收数据或接收数据是否有故障,比如,当第一发光二极管D1闪烁时,表示第一CAN通讯模块222有数据发送,当第一发光二极管D1不闪烁时,表示第一CAN通讯模块222发送数据有故障;当第二发光二极管D2闪烁时,表示第一CAN通讯模块222有数据接收,当第二发光二极管D2不闪烁时,表示第一CAN通讯模块222接收数据有故障。Wherein, the first CAN communication module 222 is connected with the first light-emitting diode D1 (Tx indicates sending data) and the second light-emitting diode D2 (Rx indicates receiving data), and the first light-emitting diode D1 is used to display the first CAN communication Whether the data sent by the module 222 is faulty; the second LED D2 is used to display whether the data received by the first CAN communication module 222 is faulty. Similarly, the second CAN communication module 224 is connected with the third light emitting diode D3 (Tx) and the fourth light emitting diode D4 (Rx), and the third light emitting diode D3 is used to display whether the second CAN communication module 224 sends data There is a fault; the fourth light emitting diode D4 is used to display whether the second CAN communication module 224 has a fault in receiving data. In one embodiment, the first light emitting diode D1 to the fourth light emitting diode D4 blink to indicate whether the corresponding CAN communication module receives data or whether there is a fault in receiving data, for example, when the first light emitting diode D1 blinks, it means The first CAN communication module 222 has data to send, when the first light-emitting diode D1 does not blink, it means that the first CAN communication module 222 has a fault in sending data; when the second light-emitting diode D2 blinks, it means that the first CAN communication module 222 has data For reception, when the second light emitting diode D2 is not blinking, it means that the first CAN communication module 222 has a fault in receiving data.
所述微处理器与第五发光二极管D5相连,所述第五发光二极管D5用于显示微处理器是否正常工作。在一个实施例中,所述第五发光二极管D5通过亮或灭来显示微处理器是否正常工作,比如,当所述微处理器正常工作时,第五发光二极管D5常亮,当所述微处理器出现故障时,第五发光二极管D5常灭;再比如,当所述微处理器正常工作时,第五发光二极管D5常灭,当所述微处理器出现故障时,第五发光二极管D5常亮。The microprocessor is connected to the fifth light emitting diode D5, and the fifth light emitting diode D5 is used to display whether the microprocessor is working normally. In one embodiment, the fifth light emitting diode D5 displays whether the microprocessor is working normally by being on or off, for example, when the microprocessor is working normally, the fifth light emitting diode D5 is always on, and when the microprocessor When the processor breaks down, the fifth light-emitting diode D5 is always off; for another example, when the microprocessor works normally, the fifth light-emitting diode D5 is always off, and when the microprocessor breaks down, the fifth light-emitting diode D5 always on.
所述输入/输出模块210的每个电流/电压信号接口通过两个发光二极管与微处理器相连,所述两个发光二极管分别用于显示该电流/电压信号接口的发送信号和接收信号是否正常。比如,所述输入/输出模块210的左侧的一个电流/电压信号的接口包括管脚1和2,其中管脚2依次通过发光二极管D6、电阻R1和光耦1与微处理器相连;所述输入/输出模块210的右侧的一个电流/电压信号的接口包括管脚1和2,其中管脚2依次通过发光二极管D7、电阻R2和光耦2与微处理器相连。Each current/voltage signal interface of the input/output module 210 is connected to the microprocessor through two light-emitting diodes, and the two light-emitting diodes are respectively used to display whether the sending signal and receiving signal of the current/voltage signal interface are normal . For example, a current/voltage signal interface on the left side of the input/output module 210 includes pins 1 and 2, wherein pin 2 is connected to the microprocessor through a light-emitting diode D6, a resistor R1 and an optocoupler 1 in sequence; A current/voltage signal interface on the right side of the input/output module 210 includes pins 1 and 2, wherein pin 2 is connected to the microprocessor through the light emitting diode D7, the resistor R2 and the optocoupler 2 in sequence.
(四)可编程逻辑控制系统中故障可编程逻辑控制模块的识别方法(4) Identification method of faulty programmable logic control module in programmable logic control system
请参考图4所示,其为图1所示的可编程逻辑控制系统中的故障可编程逻辑控制模块的识别方法的流程示意图。以下结合图1,具体介绍图4所示的故障可编程逻辑控制模块的识别方法。Please refer to FIG. 4 , which is a schematic flowchart of a method for identifying a faulty programmable logic control module in the programmable logic control system shown in FIG. 1 . The identification method of the faulty programmable logic control module shown in FIG. 4 will be specifically introduced below in conjunction with FIG. 1 .
步骤410,转换模块122、124以预定时间周期给与其对应的可编程逻辑控制模块130发送随机心跳信号;Step 410, the conversion modules 122, 124 send a random heartbeat signal to the corresponding programmable logic control module 130 at a predetermined time period;
步骤420,所述对应的可编程逻辑控制模块130接收到所述转换模块122、124发出的心跳信号后,发送指定格式的数据信号给所述转换模块122、124,所述数据信号包括地址信号、电流/电压信号和所述对应的可编程逻辑控制模块130接收到的心跳信号,其中,所述电流/电压信号为所述对应的可编程逻辑控制模块接收到的外部信号;所述地址信号为所述对应的可编程逻辑控制模块中的微处理器自我检测后得到的信号(类似网关1-255)。在一个具体的实施例中,所述可编程逻辑控制模块130将接收到的外部的电流/电压信号转换成计算机可识别的数字信号,然后再将该数字信号、地址信号和对应的可编程逻辑控制模块130接收到的心跳信号整合成指定格式的数据信号,然后再通过CAN总线总线传输给对应的所述转换模块122、124。Step 420, after the corresponding programmable logic control module 130 receives the heartbeat signal sent by the conversion module 122, 124, it sends a data signal in a specified format to the conversion module 122, 124, and the data signal includes an address signal , a current/voltage signal and a heartbeat signal received by the corresponding programmable logic control module 130, wherein the current/voltage signal is an external signal received by the corresponding programmable logic control module; the address signal It is a signal obtained after the self-test of the microprocessor in the corresponding programmable logic control module (similar to the gateway 1-255). In a specific embodiment, the programmable logic control module 130 converts the received external current/voltage signal into a digital signal recognizable by the computer, and then the digital signal, address signal and corresponding programmable logic The heartbeat signal received by the control module 130 is integrated into a data signal of a specified format, and then transmitted to the corresponding conversion modules 122 and 124 through the CAN bus.
步骤430,所述转换模块122、124接收到对应的可编程逻辑控制模块130发送的数据信号后,检测接收到的数据信号中的心跳信号是否正确。Step 430, after receiving the data signal sent by the corresponding programmable logic control module 130, the conversion modules 122 and 124 detect whether the heartbeat signal in the received data signal is correct.
步骤440,若所述转换模块122、124检测到随数据信号返还的心跳信号消失或错误,则判断对应的可编程逻辑控制模块130可能存在故障。Step 440, if the conversion modules 122 and 124 detect that the heartbeat signal returned along with the data signal disappears or is wrong, then it is determined that the corresponding programmable logic control module 130 may be faulty.
综上所示,本发明中的故障可编程逻辑控制模块的识别方法,可对可编程逻辑控制系统中的可编程逻辑控制模块进行监测,并能快速找到出故障的可编程逻辑控制模块。To sum up, the identification method of the faulty PLC module in the present invention can monitor the PLC modules in the PLC system, and can quickly find the faulty PLC module.
(五)可编程逻辑控制模块的外部结构(5) The external structure of the programmable logic control module
为了方便可编程逻辑控制模块的固定,本发明对可编程逻辑控制模块的外部结构进行了改进。In order to facilitate the fixing of the programmable logic control module, the invention improves the external structure of the programmable logic control module.
请参考图5所示,其为本发明在一个实施例中的可编程逻辑控制模块的背面结构的爆炸图;请参考图6所示,其为图5所示的可编程逻辑控制模块在卡扣处于卡固位置时的结构示意图;请参考图7所示,其为图5所示的可编程逻辑控制模块在卡扣处于解卡位置时的结构示意图。Please refer to Figure 5, which is an exploded view of the back structure of the programmable logic control module in one embodiment of the present invention; please refer to Figure 6, which is the programmable logic control module shown in Figure 5 on the card A schematic diagram of the structure when the buckle is in the clamping position; please refer to FIG. 7 , which is a schematic structural diagram of the programmable logic control module shown in FIG. 5 when the buckle is in the unlocking position.
图5-7所示的可编程逻辑控制模块500包括卡扣520、形成于所述可编程逻辑控制模块500背面的凹槽510和位于所述凹槽510外侧的收容槽530,所述收容槽530自所述可编程逻辑控制模块背面的一侧延伸至所述凹槽510。当所述卡扣520收容于所述收容槽530内时,所述卡扣520的脚部521外露于所述凹槽510内,以将所述可编程逻辑控制模块500固定于位于所述凹槽510处的固定件600上。The programmable logic control module 500 shown in FIGS. 5-7 includes a buckle 520, a groove 510 formed on the back of the programmable logic control module 500, and a receiving groove 530 outside the groove 510. The receiving groove 530 extends from one side of the back of the programmable logic control module to the groove 510 . When the buckle 520 is accommodated in the receiving groove 530, the foot 521 of the buckle 520 is exposed in the groove 510, so as to fix the programmable logic control module 500 in the groove. on the fixing member 600 at the slot 510 .
图5-7所示的具体实施例中,所述收容槽530包括自所述可编程逻辑控制模块500背面的一侧向所述凹槽510方向延伸的第一收容槽部532、自所述第一收容槽部532的末端继续向所述凹槽510方向延伸直至所述凹槽510的第二收容槽部534、位于所述收容槽530中部的挡块536,其中,所述第二收容槽,534的侧壁上形成有导引槽5342;所述卡扣520包括卡扣本体525、位于卡扣本体525顶端的头部522、位于卡扣本体525底端的脚部521、位于卡扣本体525的头部522两侧的肩部523以及位于卡扣本体525两侧且位于所述肩部523和脚部521之间的导引部524;所述卡扣本体525包括贯穿所述卡扣本体525厚度方向的空腔5252、自所述卡扣本体525延伸形成的且位于所述空腔5252内的弹性夹5256和指部5254;所述卡扣520可以收容于所述收容槽530内,并可在卡固位置和解卡位置之间移动。In the specific embodiment shown in FIGS. 5-7 , the receiving groove 530 includes a first receiving groove portion 532 extending from one side of the back of the programmable logic control module 500 toward the direction of the groove 510 , extending from the The end of the first receiving groove part 532 continues to extend toward the direction of the groove 510 until the second receiving groove part 534 of the groove 510 and the stopper 536 located in the middle of the receiving groove 530, wherein the second receiving groove part 536 A guide groove 5342 is formed on the side wall of the slot 534; the buckle 520 includes a buckle body 525, a head 522 at the top of the buckle body 525, a foot 521 at the bottom of the buckle body 525, and a buckle body 525 at the bottom. The shoulders 523 on both sides of the head 522 of the body 525 and the guides 524 located on both sides of the buckle body 525 and between the shoulders 523 and the feet 521; The cavity 5252 in the thickness direction of the buckle body 525, the elastic clip 5256 and the finger 5254 extending from the buckle body 525 and located in the cavity 5252; the buckle 520 can be accommodated in the receiving groove 530 inside, and can move between the locked position and the unblocked position.
当所述卡扣520处于卡固位置时(具体请参见图6),所述卡扣520的肩部523收容于所述第一收容槽部532内、且所述卡扣520的肩部523的底端抵于所述第二收容槽部534的侧壁顶端;所述导引部524收容于所述第二收容槽部534的导引槽5342内;所述弹性夹5256的开口夹持于所述挡块536的最宽部分的第一侧,所述指部5254远离所述挡块536;所述卡扣520的脚部521外露于所述凹槽510内,以使所述可编程逻辑控制模块500固定于位于所述凹槽510处的固定件600上。When the buckle 520 is in the locked position (see FIG. 6 for details), the shoulder 523 of the buckle 520 is accommodated in the first receiving groove 532 , and the shoulder 523 of the buckle 520 The bottom end of the second receiving groove part 534 abuts against the top end of the side wall; the guide part 524 is accommodated in the guiding groove 5342 of the second receiving groove part 534; the opening of the elastic clip 5256 clamps On the first side of the widest part of the block 536, the finger 5254 is away from the block 536; the foot 521 of the buckle 520 is exposed in the groove 510, so that the The programming logic control module 500 is fixed on the fixing member 600 located at the groove 510 .
当所述卡扣520处于解卡位置时(具体请参见图7),所述卡扣520的部分肩部523退出所述第一收容槽部532、且所述卡扣520的肩部523的底端退离所述第二收容槽部534的侧壁顶端;所述弹性夹5256的开口夹持于所述挡块的最宽部分的第二侧;所述指部5254靠近所述挡块536并被所述挡块536阻挡;所述卡扣520的脚部退入所述第二收容槽部534内,以使得所述可编程逻辑控制模块500脱离于位于所述凹槽510处的固定件600。在所述卡扣520由解卡位置移动至卡固位置时,所述弹性夹5256的开口由所述挡块536的最宽部分的第二侧经过所述挡块536的最宽部分移动到所述挡块536的最宽部分的第一侧。When the buckle 520 is in the unlocking position (see FIG. 7 for details), part of the shoulder 523 of the buckle 520 exits the first receiving groove 532, and the shoulder 523 of the buckle 520 The bottom end is withdrawn from the top of the side wall of the second receiving groove portion 534; the opening of the elastic clip 5256 is clamped on the second side of the widest part of the block; the finger portion 5254 is close to the block 536 and is blocked by the stopper 536; the feet of the buckle 520 retreat into the second receiving groove 534, so that the programmable logic control module 500 is disengaged from the groove 510. Fixture 600. When the buckle 520 moves from the unlocking position to the locking position, the opening of the elastic clip 5256 moves from the second side of the widest part of the stopper 536 through the widest part of the stopper 536 to The first side of the widest part of the block 536 .
在图5-7所示的具体实施例中,所述弹性夹5256自所述卡扣本体525的空腔5252的靠近卡扣520的头部522的一侧延伸而成,所述指部5254自所述卡扣本体525的空腔5252的靠近卡扣520的脚部521的一侧延伸而成;所述挡块536与所述指部5254相邻的一端形成有凹口5362,当所述卡扣520处于卡固位置时,所述指部5254的部分收容于所述挡块536的凹口5362内、且所述指部5254的末端与所述挡块536的凹口5362的底部保持有一定的距离;当所述卡扣520处于解卡位置时,所述指部5254的末端抵靠住所述挡块536的凹口5362的底部。In the specific embodiment shown in FIGS. 5-7, the elastic clip 5256 extends from the side of the cavity 5252 of the buckle body 525 close to the head 522 of the buckle 520, and the finger 5254 Extending from the side of the cavity 5252 of the buckle body 525 close to the foot 521 of the buckle 520; the end of the block 536 adjacent to the finger 5254 is formed with a notch 5362, when the When the buckle 520 is in the locked position, the finger portion 5254 is partially received in the notch 5362 of the block 536, and the end of the finger portion 5254 is in contact with the bottom of the notch 5362 of the block 536 Keep a certain distance; when the buckle 520 is in the release position, the end of the finger 5254 abuts against the bottom of the notch 5362 of the blocking block 536 .
在图5-7所示的具体实施例中,所述第一收容槽部532的宽度大于所述第二收容槽部534宽度,所述卡扣本体525的肩部523的厚度大于所述引导部524的厚度;可编程逻辑控制模块500的背面上位于所述凹槽510的一侧,形成有若干个所述的收容槽530,可编程逻辑控制模块500还包括自所述凹槽510的另一侧的可编程逻辑控制模块500的背面部分延伸至凹槽510上方的若干个相互间隔的卡片540,通过所述卡片540可先将所述可编程逻辑控制模块500挂靠于所述凹槽510处的固定件600上,然后再通过卡扣520将所述可编程逻辑控制模块500固定于位于所述凹槽510处的固定件600上。In the specific embodiment shown in FIGS. 5-7, the width of the first receiving groove 532 is greater than the width of the second receiving groove 534, and the thickness of the shoulder 523 of the buckle body 525 is greater than that of the guide The thickness of the portion 524; the back side of the programmable logic control module 500 is located on one side of the groove 510, and several of the receiving grooves 530 are formed, and the programmable logic control module 500 also includes the groove 510 The back part of the programmable logic control module 500 on the other side extends to several mutually spaced cards 540 above the groove 510, and the programmable logic control module 500 can be hung on the groove through the cards 540 510 on the fixing member 600 , and then the programmable logic control module 500 is fixed on the fixing member 600 at the groove 510 through buckles 520 .
所述卡扣本体525的头部522可作为推拉部使用,通过推拉所述卡扣本体525的头部522以使所述卡扣520在所述收容槽530的卡固位置和解卡位置之间移动。所述卡扣本体525的头部522形成有贯穿所述头部522厚度方向的通孔5222,可在该在通孔5222内插入辅助工具,以带动所述卡扣520在所述收容槽530的卡固位置和解卡位置之间移动。The head 522 of the buckle body 525 can be used as a push-pull part, by pushing and pulling the head 522 of the buckle body 525 so that the buckle 520 is between the fastened position and the unlocked position of the receiving groove 530 move. The head 522 of the buckle body 525 is formed with a through hole 5222 through the thickness direction of the head 522, and an auxiliary tool can be inserted into the through hole 5222 to drive the buckle 520 in the receiving groove 530. Move between the clamping position and the unlocking position.
请参考图8所示,其为图1所示的卡扣的背面在一个实施例中的结构示意图,所示的卡扣520还包括形成于所述卡扣520背面的槽道550,所述卡扣520的背面为紧邻所述收容槽530底部的端面,所述槽道550位于所述卡扣本体525的空腔5252和卡扣520的脚部521之间,在所述卡扣520插入或抽离所述收容槽530时,所述挡块536穿过所述槽道550。Please refer to FIG. 8 , which is a structural schematic view of the back of the buckle shown in FIG. The back of the buckle 520 is the end surface adjacent to the bottom of the receiving groove 530, the channel 550 is located between the cavity 5252 of the buckle body 525 and the foot 521 of the buckle 520, and inserted into the buckle 520 Or when withdrawing from the receiving groove 530 , the stopper 536 passes through the channel 550 .
请参考图10所示,其为本发明在一个实施例中的可编程逻辑控制架的结构示意图。图10所示的可编程逻辑控制架包括安装板700、多个固定件600和多个如图5-7所示的可编程逻辑控制模块500。Please refer to FIG. 10 , which is a schematic structural diagram of a programmable logic control shelf in an embodiment of the present invention. The programmable logic control rack shown in FIG. 10 includes a mounting plate 700, a plurality of fixing parts 600 and a plurality of programmable logic control modules 500 as shown in FIGS. 5-7.
其中,多个固定件600依次固定在所述安装板700的端面上,其中每个固定件600上都依次固定有多个可编程逻辑控制模块500。请参考图9所述,其为图10中的一个固定件600上安装有多个可编程逻辑控制模块500的背面结构示意图。在图5和图10所示的实施例中,所述固定件600为条状板。Wherein, a plurality of fixing pieces 600 are sequentially fixed on the end surface of the installation board 700 , wherein each fixing piece 600 is sequentially fixed with a plurality of programmable logic control modules 500 . Please refer to FIG. 9 , which is a schematic diagram of the back structure of a plurality of programmable logic control modules 500 installed on a fixing member 600 in FIG. 10 . In the embodiment shown in FIG. 5 and FIG. 10 , the fixing member 600 is a strip plate.
需要指出的是,熟悉该领域的技术人员对本发明的具体实施方式所做的任何改动均不脱离本发明的权利要求书的范围。相应地,本发明的权利要求的范围也并不仅仅局限于前述具体实施方式。It should be pointed out that any changes made by those skilled in the art to the specific embodiments of the present invention will not depart from the scope of the claims of the present invention. Accordingly, the scope of the claims of the present invention is not limited only to the foregoing specific embodiments.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711092032.9A CN107807629B (en) | 2017-11-08 | 2017-11-08 | Method for identifying fault programmable logic control module in programmable control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711092032.9A CN107807629B (en) | 2017-11-08 | 2017-11-08 | Method for identifying fault programmable logic control module in programmable control system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107807629A true CN107807629A (en) | 2018-03-16 |
CN107807629B CN107807629B (en) | 2020-07-21 |
Family
ID=61591836
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711092032.9A Active CN107807629B (en) | 2017-11-08 | 2017-11-08 | Method for identifying fault programmable logic control module in programmable control system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107807629B (en) |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1455566A (en) * | 2002-12-20 | 2003-11-12 | 中国科学院沈阳自动化研究所 | On-the-spot bus scatter control station |
WO2004027591A1 (en) * | 2002-09-20 | 2004-04-01 | Woodhead Industries, Inc. | Network active i/o module with removable memory unit |
CN201354933Y (en) * | 2009-01-06 | 2009-12-02 | 上海迪普自动化技术有限公司 | Automatic Monitoring System of Booster Pumping Station Based on PLC and Internet |
WO2010094057A1 (en) * | 2009-02-18 | 2010-08-26 | Commonwealth Scientific And Industrial Research Organisation | Method and apparatus for providing a bit masked heartbeat signal |
JP2010191875A (en) * | 2009-02-20 | 2010-09-02 | Koyo Electronics Ind Co Ltd | Voice information system of abnormality of contact system in programmable controller |
CN102748215A (en) * | 2012-07-12 | 2012-10-24 | 国电南京自动化股份有限公司 | Safety chain system of wind generating set and fault rapid identification method thereof |
CN103490943A (en) * | 2013-07-04 | 2014-01-01 | 文杰 | Industrial Ethernet packet loss detection method based on heartbeat signals |
CN203877672U (en) * | 2014-05-13 | 2014-10-15 | 天地(常州)自动化股份有限公司 | Redundancy control device of underground explosion-proof elevator |
CN204646533U (en) * | 2015-04-30 | 2015-09-16 | 西门子工厂自动化工程有限公司 | The safety chain system of wind power generating set and wind power generating set |
CN105116807A (en) * | 2015-09-06 | 2015-12-02 | 长江三峡能事达电气股份有限公司 | System and method for automatically configuring module information of modular controller |
CN105334729A (en) * | 2015-11-27 | 2016-02-17 | 王先宏 | Method for redundancy switch of two independent PLC systems in railway locomotive depot signal control |
CN105610876A (en) * | 2016-04-01 | 2016-05-25 | 江苏科技大学 | Industrial control type automatic network communication protocol converter and communication protocol conversion method |
-
2017
- 2017-11-08 CN CN201711092032.9A patent/CN107807629B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2004027591A1 (en) * | 2002-09-20 | 2004-04-01 | Woodhead Industries, Inc. | Network active i/o module with removable memory unit |
CN1455566A (en) * | 2002-12-20 | 2003-11-12 | 中国科学院沈阳自动化研究所 | On-the-spot bus scatter control station |
CN201354933Y (en) * | 2009-01-06 | 2009-12-02 | 上海迪普自动化技术有限公司 | Automatic Monitoring System of Booster Pumping Station Based on PLC and Internet |
WO2010094057A1 (en) * | 2009-02-18 | 2010-08-26 | Commonwealth Scientific And Industrial Research Organisation | Method and apparatus for providing a bit masked heartbeat signal |
JP2010191875A (en) * | 2009-02-20 | 2010-09-02 | Koyo Electronics Ind Co Ltd | Voice information system of abnormality of contact system in programmable controller |
CN102748215A (en) * | 2012-07-12 | 2012-10-24 | 国电南京自动化股份有限公司 | Safety chain system of wind generating set and fault rapid identification method thereof |
CN103490943A (en) * | 2013-07-04 | 2014-01-01 | 文杰 | Industrial Ethernet packet loss detection method based on heartbeat signals |
CN203877672U (en) * | 2014-05-13 | 2014-10-15 | 天地(常州)自动化股份有限公司 | Redundancy control device of underground explosion-proof elevator |
CN204646533U (en) * | 2015-04-30 | 2015-09-16 | 西门子工厂自动化工程有限公司 | The safety chain system of wind power generating set and wind power generating set |
CN105116807A (en) * | 2015-09-06 | 2015-12-02 | 长江三峡能事达电气股份有限公司 | System and method for automatically configuring module information of modular controller |
CN105334729A (en) * | 2015-11-27 | 2016-02-17 | 王先宏 | Method for redundancy switch of two independent PLC systems in railway locomotive depot signal control |
CN105610876A (en) * | 2016-04-01 | 2016-05-25 | 江苏科技大学 | Industrial control type automatic network communication protocol converter and communication protocol conversion method |
Non-Patent Citations (1)
Title |
---|
追梦19890618: "PLC安装示意图", 《HTTPS://WENKU.BAIDU.COM/VIEW/0328663269DC5022ABEA0051.HTML》 * |
Also Published As
Publication number | Publication date |
---|---|
CN107807629B (en) | 2020-07-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2002305389A (en) | Transmission equipment | |
CN207571556U (en) | Programmable Logic Control Shelf | |
CN106936496B (en) | Hot plug device for multiple IIC communication devices | |
US20130046502A1 (en) | Motherboard test device | |
CN105973147A (en) | Automatic inspection device for PCB (Printed Circuit Board) | |
TWI468918B (en) | Auto-detection control device and method thereof | |
CN107587432A (en) | A kind of bridge construction equipment | |
CN107807629A (en) | Identification Method of Faulty Programmable Logic Control Module in Programmable Control System | |
CN107608308A (en) | Programmable Logic Control Shelf | |
CN107608307A (en) | A kind of Programmable logical controller subsystem | |
CN107861457B (en) | Programmable logic control module | |
CN105335328B (en) | A kind of removing method, system and the electronic equipment of backboard I2C bus deadlock | |
US8607100B2 (en) | Motherboard testing device and testing method thereof | |
CN207571557U (en) | Universal logic module | |
CN207571558U (en) | Universal logic module | |
CN100446147C (en) | Multi-optical axis photoelectric sensor system | |
CN107621806A (en) | Universal logic module | |
CN207571555U (en) | A kind of programmable logic control system | |
CN109075791A (en) | Use FET pairs of double track circuit | |
CN103218278B (en) | Automatic detection and control device and automatic detection control method thereof | |
CN109959841A (en) | A device for automatic detection and marking of RS232 serial line crossover and direct connection type | |
CN207571554U (en) | Universal logic module | |
CN113078943B (en) | An optical module detection device, method and communication equipment | |
CN115092208A (en) | Full electronic interlocking system QM-SIG signal board card | |
KR101249018B1 (en) | Ejector and ejecting system using ejector |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |