CN200983101Y - A remote communication, monitoring and human-machine interface control module - Google Patents
A remote communication, monitoring and human-machine interface control module Download PDFInfo
- Publication number
- CN200983101Y CN200983101Y CN 200620040595 CN200620040595U CN200983101Y CN 200983101 Y CN200983101 Y CN 200983101Y CN 200620040595 CN200620040595 CN 200620040595 CN 200620040595 U CN200620040595 U CN 200620040595U CN 200983101 Y CN200983101 Y CN 200983101Y
- Authority
- CN
- China
- Prior art keywords
- control
- communication
- display
- man
- circuit
- 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.)
- Expired - Lifetime
Links
Images
Landscapes
- Selective Calling Equipment (AREA)
Abstract
本实用新型涉及一种可通讯远程监视及控制人机接口模块,RS-485通讯接口电路、中央微处理器、按键作用电路、存储单元E2PROM、LED显示电路、液晶显示电路、嵌入式通讯及显示和操作处理软件;以RS-485通讯接口实现远程显示控制模块与本体的连接,中央微处理器对接收到的信息进行处理,然后通过LED和液晶的显示输出,并能响应按键的操作请求,将命令以Modbus数据包的形式传输给本体。其中液晶的显示界面采取菜单的方式,通过按键操作实现对各个参数的监测,对特定参数的设定,以及对电动机的控制。通过存储单元E2PROM可实现某些设定值的保存。该接口模块,人机界面友好,能解决广泛应用于MODBUS通讯设备数据监视和控制的问题,提高人机对话的便捷性。
The utility model relates to a communication remote monitoring and control man-machine interface module, RS-485 communication interface circuit, central microprocessor, key function circuit, storage unit E 2 PROM, LED display circuit, liquid crystal display circuit, embedded communication And display and operation processing software; use the RS-485 communication interface to realize the connection between the remote display control module and the main body, the central microprocessor processes the received information, and then outputs it through the display of LED and LCD, and can respond to the operation of the buttons Request, transmit the command to the main body in the form of Modbus data packet. Among them, the display interface of the liquid crystal adopts the method of menu, and realizes the monitoring of various parameters, the setting of specific parameters, and the control of the motor through key operation. The preservation of certain set values can be realized through the storage unit E2PROM . The interface module has a friendly man-machine interface, can solve the problem of data monitoring and control widely used in MODBUS communication equipment, and improves the convenience of man-machine dialogue.
Description
技术领域technical field
本实用新型涉及一种工业控制类可通讯远程监视及控制人机接口模块,更确切地说涉及一种MODBUS通讯远程监视及控制人机接口模块,属于现场总线技术领域。The utility model relates to an industrial control type communicative remote monitoring and control man-machine interface module, more precisely relates to a MODBUS communication remote monitoring and control man-machine interface module, which belongs to the field bus technology field.
技术背景technical background
目前,国内外使用工控类可通讯产品大多使用ModBus通讯协议,而在一些场合用户需要监视MODBUS网络上的数据或对具有MODBUS通讯接口的产品进行控制的时候往往依赖于计算机,这样就给现场调试带来不便成本和提高了成本。At present, most of the industrial control communicable products at home and abroad use the ModBus communication protocol, and in some occasions, users often rely on computers when they need to monitor the data on the MODBUS network or control products with MODBUS communication interfaces. Inconvenience costs and increased costs.
人机接口模块可以方便的接入MODBUS网络进行参数监视和控制,成本低且体积小。该产品在方便人机对话等方面均具有新颖性。The man-machine interface module can be easily connected to the MODBUS network for parameter monitoring and control, with low cost and small size. The product is novel in terms of convenient man-machine dialogue.
该人机接口模块在ModBus网络数据监视及控制,用户自定义网络变量地址,简便易操作等方面均属国内首创。The man-machine interface module is the first in China in terms of ModBus network data monitoring and control, user-defined network variable address, and easy operation.
发明内容Contents of the invention
本实用新型的目的在于提供了一种MODBUS通讯远程监视及控制人机接口模块,该模块为一些工控设备组态工程里,为用户提供便捷、而且低成本的人机接口,用户监视MODBUS网络数据更为直观。The purpose of this utility model is to provide a MODBUS communication remote monitoring and control man-machine interface module, the module is used in some industrial control equipment configuration projects, to provide users with convenient and low-cost man-machine interface, users monitor MODBUS network data more intuitive.
为了达到上述目的,本实用新型的技术方案是:在硬件方面以RS-485串行通讯接口实现远程显示控制模块(VD1M)与本体(VD1)的连接,通过VD1M中的微处理器对接收到的信息进行处理,然后通过LED和液晶的显示输出,并能响应按键的操作请求,将特定的命令以Modbus数据包的形式传输给本体.其中液晶的显示界面采取菜单的方式,用户可方便地通过按键操作实现对各个参数的监测,对特定参数的设定,以及对电动机的控制.通过EEPROM可实现某些设定值的保存。VD1M的工作电源为5V,可直接由VD1提供,也可采用独立供电的形式;在软件方面,该模块集成了嵌入式MODBUS协议软件,嵌入式菜单显示及按键操作处理软件,嵌入式参数识别及修改软件,以及上位机配置软件。In order to achieve the above object, the technical solution of the present utility model is: in terms of hardware, realize the connection between the remote display control module (VD1M) and the main body (VD1) with the RS-485 serial communication interface. The information is processed, and then output through the display of LED and LCD, and can respond to the operation request of the button, and transmit the specific command to the main body in the form of Modbus data packet. The LCD display interface adopts the method of menu, and the user can conveniently The monitoring of various parameters, the setting of specific parameters, and the control of the motor can be realized through key operation. Some setting values can be saved through EEPROM. The working power supply of VD1M is 5V, which can be provided directly by VD1 or in the form of independent power supply; in terms of software, the module integrates embedded MODBUS protocol software, embedded menu display and key operation processing software, embedded parameter identification and Modify the software, as well as the host computer configuration software.
本实用新型的有益效果:该人机接口模块,能解决广泛应用于MODBUS通讯设备数据监视和控制的问题,提高人机对话的便捷性,市场需求较大,具有很好的推广应用前景具有广泛的使用范围。Beneficial effects of the utility model: the man-machine interface module can solve the problem of data monitoring and control widely used in MODBUS communication equipment, improve the convenience of man-machine dialogue, has a large market demand, and has a good promotion and application prospect. range of use.
附图说明Description of drawings
图1为本实用新型MODBUS通讯远程监视及控制人机接口模块硬件原理框图;Fig. 1 is the block diagram of the hardware principle of the MODBUS communication remote monitoring and control man-machine interface module of the present invention;
图2(图2.1~图2.9)为本实用新型MODBUS通讯远程监视及控制人机接口模块硬件原理图;Fig. 2 (Fig. 2.1~Fig. 2.9) is the hardware principle diagram of the MODBUS communication remote monitoring and control man-machine interface module of the present invention;
图3为本实用新型MODBUS通讯远程监视及控制人机接口软件流程框图。Fig. 3 is a flow chart of the utility model MODBUS communication remote monitoring and control man-machine interface software.
具体实施方式Detailed ways
以下结合附图和实施例对本实用新型作比较详细说明。Below in conjunction with accompanying drawing and embodiment the utility model is described in detail.
参照图1,这是本实用新型的系统原理框图,包括以下几个部分:(图号要做相应调整)RS485通讯接口电路2、中央微处理器3、按键作用电路4、存储单元E2PROM 5、LED显示电路6、液晶显示电路7、工作电源8。With reference to Fig. 1, this is the system principle block diagram of the present utility model, comprises following several parts: (figure number will be adjusted accordingly) RS485
MCU通过嵌入其中的程序实现Modbus消息的收发和各种信息及操作的处理。RS-485通讯接口在VD1M的MCU和VD1之间建立起一个通道,实现了网络通信的链路层和物理层功能.MCU通过扫描按键判断是否有操作请求,并给出响应.消息及结果通过LED和液晶的显示输出.液晶的显示界面采取菜单的方式,用户可方便地通过按键操作实现对各个参数的监测,对特定参数的设定,以及对电动机的控制。通过EEPROM可实现某些设定值的保存.VD1M的工作电源为5V,可直接由VD1提供,也可采用独立供电的形式。The MCU realizes the sending and receiving of Modbus messages and the processing of various information and operations through the programs embedded in it. The RS-485 communication interface establishes a channel between the MCU of VD1M and VD1, realizing the link layer and physical layer functions of network communication. The MCU judges whether there is an operation request by scanning the keys, and gives a response. The message and result pass LED and liquid crystal display output. The liquid crystal display interface adopts the menu method, and the user can easily realize the monitoring of various parameters, the setting of specific parameters, and the control of the motor through key operations. Some setting values can be saved through EEPROM. The working power supply of VD1M is 5V, which can be provided directly by VD1 or in the form of independent power supply.
参照图2.1,这是MCU的接线图.所选用的MCU为STC89C516RD+.如图中的管脚网络标识所示,RXD,TXD,MDS接至RS-485通讯接口,其中MDS为收发选择端,置高电平时发送使能,低电平时接收使能,P33,P34,P35,P36,P37分别接到5路LED显示输出驱动端.D/I接到液晶的数据/指令选择端,R/W接到液晶的读/写控制端,E接到液晶的使能端,DB0-DB7接到液晶的8个数据位,CS1,CS2接到液晶的片选端,RST接到液晶的复位信号端,EL1接到液晶的背光控制端。P10-P17接至8个按键。 REST接到复位芯片IMP810.P40,P20,P21,P22到EEPROM芯片。Referring to Figure 2.1, this is the wiring diagram of the MCU. The selected MCU is STC89C516RD+. As shown in the pin network identification in the figure, RXD, TXD, and MDS are connected to the RS-485 communication interface, and MDS is the transceiver selection terminal. Transmit enable when high level, receive enable when low level, P33, P34, P35, P36, P37 are respectively connected to 5 LED display output drive terminals. D/I is connected to the data/command selection terminal of LCD, R/W Connected to the read/write control terminal of the LCD, E connected to the enable terminal of the LCD, DB0-DB7 connected to the 8 data bits of the LCD, CS1, CS2 connected to the chip selection terminal of the LCD, RST connected to the reset signal terminal of the LCD , EL1 is connected to the backlight control terminal of the LCD. P10-P17 are connected to 8 keys. REST is connected to the reset chip IMP810.P40, P20, P21, P22 to the EEPROM chip.
图2.2是MCU口线上拉电路,它通过10K的排阻将MCU的各管脚接到VCC,起到抬高电平,增强芯片口线驱动能力的作用。Figure 2.2 is the MCU port line pull-up circuit, which connects each pin of the MCU to VCC through a 10K exclusion to raise the level and enhance the drive capability of the chip port line.
图2.3是RS-485通讯接口电路。采用芯片75176实现消息的收发和电平转换。485-1A,485-1B为传输网络上的信号线,连到本体的RS-485通讯接口。VD1M要发送消息时,将MDS置1,MCU将串行数据通过TXD传输给75176,经75176转换为差分电平信号,由A、B两管脚输出到网络传输线485-1A,485-1B上,被本体所接收,实现了数据的发送。VD1M要接收消息时,将MDS置0,本体发送的信息经网络传输线485-1A,485-1B到达75176的A、B端,75176将此差分信号转换为TTL电平信号,由RXD输入给MCU,实现了数据的接收。在通讯中,VD1M充当主机,本体则为从机。上拉电阻RA,下拉电阻RB用于保证无连接的75176芯片处于空闲状态,提供网络失效保护,以提高RS-485节点与网络的可靠性。RAB是终端匹配电阻.LA,LB,CA,CB,NUP1,LU1,CU1,是可选安装元件,用于抑制干扰,提高电路的EMI性能。Figure 2.3 is the RS-485 communication interface circuit.
图2.4是LED显示输出电路。共有5路,分别控制5个LED.接上三极管是为了增强MCU输出口线的驱动能力。Figure 2.4 is the LED display output circuit. There are 5 channels in total, controlling 5 LEDs respectively. The purpose of connecting the triode is to enhance the driving ability of the MCU output line.
图2.5是液晶显示输出电路。与MCU以并行方式连接,具体的接线前面已有详细说明。该液晶为128×64点阵式液晶。RTJ是一个电位器,用以调节液晶的对比度。Figure 2.5 is the liquid crystal display output circuit. It is connected with MCU in parallel, and the specific wiring has been described in detail above. The liquid crystal is a 128×64 dot matrix liquid crystal. RTJ is a potentiometer to adjust the contrast of LCD.
图2.6是按键的连接电路。本实用新型采用薄膜按键,做成表面贴膜的形式,可节省空间,缩小产品的体积,且简洁美观。MCU通过扫描检测有无按键动作,当按键发生,口线P10-P17电平发生变化,MCU判断是否为有效动作,并给出响应。按键的去抖动完全采取软件判断的方式,节省了硬件成本.本产品共设8个按键,其中4个直接控制电机,分别为停止,复位,起动A,起动B。其余4个按键用于液晶界面菜单的操作。Figure 2.6 is the connection circuit of the button. The utility model adopts the thin film button, which is made into the form of surface film, which can save space, reduce the volume of the product, and is simple and beautiful. The MCU scans to detect whether there is a button action. When the button is pressed, the level of the port line P10-P17 changes, and the MCU judges whether it is a valid action and gives a response. The debounce of the buttons is completely judged by software, which saves hardware costs. There are 8 buttons in this product, 4 of which directly control the motor, which are stop, reset, start A, and start B. The remaining 4 buttons are used for the operation of the LCD interface menu.
图2.7是MCU的复位电路。采用复位芯片IMP810。起到上电复位和掉电复位的作用。Figure 2.7 is the reset circuit of the MCU. Using reset chip IMP810. Play the role of power-on reset and power-off reset.
图2.8是EEPROM存储电路。采用芯片93C66.作为备用功能,可用于一些需要掉电保存的情况。Figure 2.8 is an EEPROM storage circuit. The chip 93C66 is used as a backup function, which can be used in some situations that need to be saved after power-off.
图2.9是烧写程序的接线电路。与STC芯片的专用烧写头相连,使用STC的烧写软件,通过MCU的串行IO口RXD、TXD将程序烧写进去。Figure 2.9 is the wiring circuit of programming program. Connect with the dedicated programming head of the STC chip, use the programming software of the STC, and program the program through the serial IO ports RXD and TXD of the MCU.
参照图3,这是本实用新型的软件主程序流程图。With reference to Fig. 3, this is the software main program flowchart of the present utility model.
参数说明如下:bb-主循环时间标志;dd-无操作时间标志;1-界面层编号;m-菜单层编号;runflag-运行标志;faultflag-故障标志;alarmflag-报警标志;P4 1-MCU口线,接液晶背光控制端。The parameters are explained as follows: bb-main cycle time flag; dd-no operation time flag; 1-interface layer number; m-menu layer number; runflag-run flag; faultflag-fault flag; alarmflag-alarm flag; P4 1-MCU port Line, connected to the LCD backlight control terminal.
其流程步骤如下:The process steps are as follows:
从<开机初始化>9始,到<ls到(bb>100),且l!=2,且l!=8,且(l=7&&m=3)?>10进行判断,如果否,则进入<按键扫描>22;如果是,进入<bb=0,读运行状态,置runflag,点相应LED>11,<读故障状态>12,<有无故障>13进行判断,如果是,则进入<置fault,点LEDS>14;如果否,进入<读报警状态>15,<有无报警>16进行判断,如果是,则进入<置alarm,点LED4>17;如果否,则进入<1=0>18进行判断,如果否,则进入<1=7&&m=0?>19进行判断,如果否,则进入<按键扫描>22;如果是,进入<实时参数刷新>21;进入<1=0>18后,如果是,则进入<待机实时参数刷新>20,再进入<按键扫描>22,<有无按键>23进行判断,如果是,则进入<dd=0;按键作用>24;如果否,则进入<dd>3000?(30s无操作?)>25进行判断,如果否,则返回<ls到(bb>100),且l!=2,且l!=8(l=&&m=3)?>10;如果是,则进入<P4-1=1(背光灭)>26,则进入<(dd>1000)&&(l!=0)&&(l!=7)//(1=7)&&(m!=0)))?>27,如果是,则进入<1=0,跳回待机界面>28。From <power-on initialization>9, to <ls to (bb>100), and l! = 2, and l! =8, and (l=7&&m=3)? >10 to judge, if no, enter <key scan> 22; if yes, enter <bb=0, read running status, set runflag, click corresponding LED> 11, <read fault status> 12, <fault or not> 13 to judge, if yes, enter <set fault, click LEDS> 14; if not, enter <read alarm status> 15, <whether there is an alarm> 16 to judge, if yes, enter <set alarm, click LED4> 17; If not, enter <1=0>18 for judgment, if not, enter <1=7&&m=0? >19 to judge, if not, enter <key scan>22; if yes, enter <real-time parameter refresh>21; enter <1=0>18, if yes, enter <standby real-time parameter refresh>20, Enter <button scanning> 22, <whether there is a button> 23 to judge, if yes, then enter <dd=0; button function> 24; if not, then enter <dd>3000? (No operation for 30s?)>25 to judge, if not, then return <ls to (bb>100), and l! = 2, and l! =8(1=&&m=3)? >10; if yes, enter <P4-1=1 (backlight off)>26, then enter <(dd>1000)&&(l!=0)&&(l!=7)//(1=7) &&(m!=0)))? >27, if yes, go to <1=0, jump back to standby interface >28.
Claims (4)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 200620040595 CN200983101Y (en) | 2006-03-28 | 2006-03-28 | A remote communication, monitoring and human-machine interface control module |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 200620040595 CN200983101Y (en) | 2006-03-28 | 2006-03-28 | A remote communication, monitoring and human-machine interface control module |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN200983101Y true CN200983101Y (en) | 2007-11-28 |
Family
ID=38910255
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN 200620040595 Expired - Lifetime CN200983101Y (en) | 2006-03-28 | 2006-03-28 | A remote communication, monitoring and human-machine interface control module |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN200983101Y (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101876816A (en) * | 2009-04-30 | 2010-11-03 | 西门子公司 | Method and operating device for operating a safety-oriented industrial automation component |
| CN102255767A (en) * | 2010-05-21 | 2011-11-23 | 蔡华 | Multifunctional handheld communication tester |
| CN104159004A (en) * | 2014-08-22 | 2014-11-19 | 福州新锐同创电子科技有限公司 | A recording and broadcasting shortcut controller |
| CN102053583B (en) * | 2009-11-10 | 2015-04-29 | 上海阿自倍尔控制仪表有限公司 | Intelligent terminal |
| CN107841634A (en) * | 2017-11-02 | 2018-03-27 | 云南昆钢电子信息科技有限公司 | A kind of electron beam cold hearth melting stove operational control device |
-
2006
- 2006-03-28 CN CN 200620040595 patent/CN200983101Y/en not_active Expired - Lifetime
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101876816A (en) * | 2009-04-30 | 2010-11-03 | 西门子公司 | Method and operating device for operating a safety-oriented industrial automation component |
| CN101876816B (en) * | 2009-04-30 | 2013-02-06 | 西门子公司 | Method and operating device for operating a safety-oriented industrial automation component |
| CN102053583B (en) * | 2009-11-10 | 2015-04-29 | 上海阿自倍尔控制仪表有限公司 | Intelligent terminal |
| CN102255767A (en) * | 2010-05-21 | 2011-11-23 | 蔡华 | Multifunctional handheld communication tester |
| CN104159004A (en) * | 2014-08-22 | 2014-11-19 | 福州新锐同创电子科技有限公司 | A recording and broadcasting shortcut controller |
| CN107841634A (en) * | 2017-11-02 | 2018-03-27 | 云南昆钢电子信息科技有限公司 | A kind of electron beam cold hearth melting stove operational control device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN201589976U (en) | A smart home system based on ZigBee technology | |
| CN202167015U (en) | Serial interface conversion circuit | |
| CN200983101Y (en) | A remote communication, monitoring and human-machine interface control module | |
| CN201266953Y (en) | Data card | |
| CN101581964A (en) | Computer system and peripheral device driving method | |
| CN201689338U (en) | BACnet field controller with Modbus communication interface | |
| CN201436812U (en) | A video matrix switcher | |
| CN2705957Y (en) | On-site bus communication protocol switching interface module | |
| CN202075964U (en) | Light-emitting diode (LED) control board based on embedded micro controller unit (MCU) | |
| CN100338579C (en) | USB hub with built-in storage | |
| CN201226531Y (en) | Multi-protocol data integration control telecommunication gateway | |
| CN202353597U (en) | Embedded home gateway | |
| CN201335976Y (en) | Device for realizing communication between direct current panel and host computer based on communication manager | |
| CN201742445U (en) | Wireless data transmission system based on GSM protocol | |
| CN201084006Y (en) | Network servo control device | |
| CN107666421A (en) | A kind of micro embedded equipment, intelligent appliance and its implementation | |
| CN100568167C (en) | Wireless internet mouse and its usage method | |
| CN205827188U (en) | Interactive communication system based on auspicious sa MCU | |
| CN218243547U (en) | A gateway and industrial equipment | |
| WO2021098714A1 (en) | Power distribution terminal having display module, and wireless power distribution display system and method | |
| CN220962209U (en) | Pulse laser and galvanometer control board | |
| CN202583748U (en) | Communication module based on serial bus | |
| CN201532752U (en) | Nixie tube display device based on Ethernet | |
| CN203759697U (en) | Communication interface of control circuit of piezoelectric actuator | |
| CN101702300B (en) | Ethernet terminal digital tube display device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| C41 | Transfer of patent application or patent right or utility model | ||
| COR | Change of bibliographic data |
Free format text: CORRECT: ADDRESS; FROM: 200063 NO.505, WUNING ROAD, PUTUO DISTRICT, SHANGHAI TO: 200063 NO.505, WUNING ROAD, SHANGHAI |
|
| TR01 | Transfer of patent right |
Effective date of registration: 20100825 Address after: 200063 No. 505, Wuning Road, Shanghai Patentee after: Shanghai Electrical Apparatus Research Institute Co., Ltd. Address before: 200063 Wuning Road, Shanghai, No. 505, No. Patentee before: Shanghai Electrical Apparatus Research Institute (Group) Co., Ltd. |
|
| CX01 | Expiry of patent term |
Granted publication date: 20071128 |
|
| EXPY | Termination of patent right or utility model |