Priority is claimed to German Patent Application No. DE 10 2009 008957.8, filed Feb. 13, 2009, the entire disclosure of which is incorporated by reference herein.
The invention relates to a communication module, the communication module cooperating with a superordinate control unit (also referred to as a central control unit) of an automation system of modular construction.
Automation systems for controlling a technical process usually comprise a central control unit. The central control unit communicates with the input/output units and/or field devices of the automation system via a communication module.
At present, in order to program the module and to communicate with devices connected to the communication module, the communication modules which are used in automation systems of modular construction have two configurable, DC-isolated serial interfaces which are independent of one another and are in the form of RS232 interfaces.
The serial interfaces are configured by a user program stored in the communication module.
One of the interfaces provided is provided as a programming interface for inputting and testing the user program stored on the communication module. The other interface is an interface which can be configured by the user program.
The user program and user data are stored in a non-volatile memory, for example a flash EPROM.
Transmission and programming of the user program and the user data from the central unit (also called the central control unit) directly into the communication module are not provided in the communication modules currently used in automation systems of modular construction.
An aspect of the invention is to specify a communication module for an automation system of modular construction, which communication module relieves the load on the central control unit of the automation system and is suitable, in particular, for transmitting and programming a user program directly from the central unit connected to the communication module into the communication module.
The communication module according to the invention for an automation system of modular construction includes a processing unit which is preferably in the form of a microprocessor, a non-volatile memory unit which cooperates with the latter and is intended to store a user program, and at least two configurable, DC-isolated serial interfaces which are independent of one another, can be configured by the user program stored in the memory unit and are intended to assume functions of the interfaces of a central control unit connected to the communication module if said interfaces do not suffice.
According to the invention, the communication module is set up to execute different communication protocols, the drivers required for this purpose being stored in the memory unit of the communication module.
In one preferred embodiment of the communication module according to the invention, the memory unit comprises at least two memories which are in the form of a flash EPROM and a RAM and are intended to store both the user program and user data and to provide them to the processing unit for execution.
One of the serial interfaces is preferably provided as a programming interface for inputting and testing the user program stored on the communication module, and the further serial interface is in the form of an interface which can be configured by the user program.
In one advantageous embodiment of the communication module according to the invention, the serial interfaces each have at least two physical interfaces, the first physical interface being able to be in the form of an RS232 interface, for example, and the second physical interface being able to be in the form of an RS485 interface (for example for multidrop bus applications).
Furthermore, the serial interfaces are exclusively in the form of an RS232 interface or an RS485 interface or an RS422 interface, the different interfaces of the communication module being able to have the same design or a different design.
In one particular embodiment of the communication module according to the invention, the serial interfaces are in the form of an RS232 interface or an RS485 interface or an RS422 interface or an Ethernet interface, the different interfaces of the communication module being able to have the same design or a different design.
The freely configurable serial interfaces are intended to transmit different protocols, for example Modbus, CS31 bus, RCOM, RCOM+, COMLI, EPVS, SysLibCom and/or Multi (changeover between two different protocols, for example Modbus, ASCII, SysLibCom).
Information interchange by the communication module via its serial interfaces can advantageously also be carried out using the standard code ASCII (American Standard Code for Information Interchange).
According to the invention, the user program can be programmed via an additional programming access of the communication module, the programming access being in the form of a dual-port RAM (DPR), for example, and being directly connected to the central control unit of the automation system.
As a result of the additional programming access to the central control unit, it is advantageously possible to use a single programming tool for the central unit and the communication module.
The invention as well as advantageous refinements of and improvements to the invention shall be described and explained in more detail using the exemplary embodiments illustrated in the following figures, in which:
The microprocessor 15 is connected to two configurable, serial interfaces COM1, COM2 which are independent of one another and are intended to transmit data, in particular to program the communication module 1 and to communicate with devices connected to the communication module 1. The first interface COM1 and the second interface COM2 are DC-isolated from one another, the DC-isolation being able to be effected, for example, using two digital isolators 14.
The first interface COM1 is provided as a programming interface for inputting and testing the user program 3 stored on the communication processor 1, and the second serial interface COM2 is in the form of an interface which can be configured by the user program 3.
According to the invention, in addition to a first physical interface RS232, the serial interfaces COM1, COM2 each have a further physical interface RS485, for example for multidrop bus applications. The interfaces are intended for standard protocols, for example ASCII, Modbus, CS31 bus, RCOM, RCOM+, COMLI, EPVS, SysLibCom and/or Multi (changeover between two different protocols, for example Modbus, ASCII, SysLibCom).
In one particular embodiment of the communication module according to the invention, one or more of the serial interfaces are configured as a CS31 bus interface, process data from input/output devices connected to the CS31 bus interfaces being provided to the central unit 2 via the programming access 11 according to a configuration of the user program 3.
In another embodiment of the communication module according to the invention, one or more of the serial interfaces are configured as a Modbus interface or another fixed protocol interface, and the data from the input/output devices connected to the serial interfaces are transmitted to the central unit 2 via the programming access 11 according to the configuration of the user program 3.
The user program 5 can be programmed via an additional programming access 11 of the communication module 1, the programming access 11 being connected to a central control unit 2 of the automation system via a dual-port RAM (DPR), for example. The communication module 1 and the central control unit 2 can therefore be programmed using a single programming tool 4.
The programming tool 4 is a programming tool for programming programmable logic controllers (PLC). The communication module is thus advantageously programmed like a PLC according to IEC61131. It is thus possible to store a PLC user program in the communication module, which program is connected to decentralized input/output devices via the interfaces COM1, COM2 in order to acquire process data or to drive actuators.
The programming languages and instructions and libraries and debug options provided in the programming tool 4 can be used in the same manner for the communication module 1 and the central unit 2.
The communication module 1 is also intended to communicate with the user program 3 of the central unit 2 via the dual-port RAM (DPR) 11 using cyclically configurable input/output data and/or acyclically using so-called messages.
In one particular embodiment of the communication module according to the invention, the serial interfaces are in the form of an RS232 interface or an RS485 interface or an RS422 interface or an Ethernet interface, the different interfaces of the communication module being able to have the same design or a different design.
Number | Date | Country | Kind |
---|---|---|---|
10 2009 008 957.8 | Feb 2009 | DE | national |