Programmable logic controller protocol converter

FIELD: information technology.

SUBSTANCE: programmable logic controller (PLC) protocol converter allows a supervisory control and data acquisition (SCADA) system to effectively communicate with a PLC using a desired communication protocol, particularly in cases where the PLC does not support the desired communications protocol. A first process may be configured to continually read PLC addresses, one at a time, using a communication protocol supported by the PLC. The first process may store the data values in the shared data array within program memory. Thus, the first process provides data from the PLC, as specified in the configuration file. At the same time, a second process may be configured to process the data in the shared data array according to a second communication protocol, e.g., for communication the SCADA system.

EFFECT: high efficiency of communication with a programmable logic controller.

21 cl, 4 dwg

 

This request under Chapter 119(e) of section 35, United States Code claims the priority of provisional patent application U.S. No. 60/952118 filed July 26, 2007. The above application is fully incorporated herein by reference.

The level of technology

Largely industrial equipment are often used device, referred to as PLC controllers - the abbreviated name for controllers with programmable logic. As you know, the PLC controller is an industrial microprocessor-based control system. PLC controller interacts with other components of the management process through communication channels. PLC controllers used in process control simple task switching (e.g., opening and closing of the valve)to control the PID-controllers, integrated data processing, arithmetic operations for synchronization control, process, machine, etc. for Example, the PLC controller can be connected to sensors that are configured to represent the values of temperature, pressure, flow rate, and a number of other quantitative indicators related to the working conditions of industrial processes. Similarly PLC controller can accumulate information on discrete values, for example, closed or open the particular valve. PLC pin is Oller may be configured to store these data in a specific address, registers or in the database.

In addition, part of the PLC controller, the microprocessor may be configured to perform various operations of the process using the received data. For example, PLC controllers can be programmed to maintain a predetermined temperature in the working chamber. In this case, the PLC controller can perform an operation on temperature rise (e.g., close/open the valve to increase the flow of fuel into the combustion chamber and others), when the temperature drops below the set minimum value. Similarly PLC controller can perform the inverse operation for lowering the temperature when it exceeds the maximum value.

In addition, the PLC controller can be configured to represent data in response to queries about what it was written to the specified sensor at any given point in time. Such requests are generally a request to a specific memory cell or to a specific database. Furthermore, such requests must be in the format corresponding to the communication Protocol, the "friendly" to the PLC controller. In some cases, the ability PLC controller to transmit data using a predefined communication Protocol can be implemented by adding to the composition PLC USB circuits the RA of the respective communication cards. However, adding a communication card in the composition of the PLC controller often requires significant reconfiguration and disable all process equipment that may cause devastating consequences. Moreover, some communication cards provide access to a limited amount of data from the PLC controller. Thus, this approach may not be acceptable depending on what data from the PLC controller, you need to get to the operator of the process.

The invention

One implementation provides a method of providing data from a controller with programmable logic (PLC controller). In General, this alternative implementation includes providing access to the configuration file that defines many present PLC controller address and initializing the array shared memory. Array shared memory contains many elements, each of which is used to store data received from the PLC controller. The method also includes initiating a first process. The first process, as a rule, can be configured to repeatedly transmit a request for one of the specific addresses of the PLC controller and store the returned them in response to the request is data in one of the array elements shared pamatay request generated in accordance with the first communication Protocol. This method may also include initiating the second process. The second process, as a rule, can be configured to receive formed in accordance with the second communication Protocol request one or more data values stored in the array shared memory, sampling one or more required values and return them in a format compatible with the second communication Protocol.

Another variant implementation contains a machine readable storage medium containing a program configured to implement the method of providing data from the PLC controller that does not require the "implementation" of additional devices containing instructions for performing operations. Operations typically can include accessing the configuration file that defines the set provided by the PLC controller address and initializing the array shared memory. Array shared memory contains many elements, each of which is used to store data received from the PLC controller. Operations also include the initiation of the first process. The first process, as a rule, can be configured to repeatedly transmit a request for one of the specific addresses of the PLC controller and store the returned them in response to the request is data in one of e the elements of the array shared memory. Each request generated in accordance with the first communication Protocol. These transactions may also include initiating the second process. The second process, as a rule, can be configured to receive formed in accordance with the second communication Protocol request one or more data values stored in the array shared memory, sampling one or more required values and return them in a format compatible with the second communication Protocol.

Another option implementation includes a system which includes a processor and a memory containing a program configured to perform operations to obtain data values from the PLC controller. Executed operations, as a rule, can include accessing the configuration file that defines many present PLC controller address and initializing the array shared memory. Array shared memory contains many elements, each of which is used to store data received from the PLC controller. Operations also include the initiation of the first process. The first process, as a rule, can be configured to repeatedly transmit a request for one of the specific addresses of the PLC controller and store the returned them in response to the request, the value of the data is x in one of the elements of the array shared memory. Each request generated in accordance with the first communication Protocol. These transactions may also include initiating the second process. The second process, as a rule, can be configured to receive formed in accordance with the second communication Protocol request one or more data values stored in the array shared memory, sampling one or more required values and return them in a format compatible with the second communication Protocol.

Brief description of drawings

For a deeper understanding of the nature and purposes of the present invention should result in the following detailed description together with the accompanying drawings, in which similar elements are assigned the same or similar reference numbers:

Figure 1 depicts a conceptual diagram of the controlled industrial facility and production control center, which includes SCADA system configured to exchange data with the system data conversion PLC controller and by the PLC controller, in accordance with the embodiment;

Figure 2 depicts a block diagram illustrating system components of the data conversion PLC controller configured to implement the process of converting a Protocol of the PLC controller, in accordance with a variant implementation of the ia;

Figure 3 depicts a conceptual diagram of an array of shared memory used by the Protocol Converter PLC controller for communication with PLC controller using the desired communication Protocol, in accordance with the embodiment;

Figure 4 illustrates the method of communication Protocol Converter PLC controller PLC controller using the desired communication Protocol, in accordance with the embodiment.

Description of the preferred option exercise

Embodiments of the present invention present a system for converting the Protocol of the PLC controller, which allows the SCADA system to effectively communicate with PLC controller, using the desired communication Protocol, especially in cases when the PLC controller does not support the requested communications Protocol. System data acquisition and control (SCADA system) centralizes data processing and enables remote monitoring and control of various industrial systems. SCADA system can be configured to collect data in real time from remote objects to control equipment and conditions in the pipeline (for example, a pipeline for transporting hydrocarbons or hydrogen). For example, a SCADA system can be configured to send the PLC controller request values, Zap the toboggan in memory addresses, represents the current value of the sensor at an industrial facility or discrete state component of an industrial facility. In order SCADA system to communicate with PLC controller, both devices must be able to work with a compatible communication Protocol.

In one embodiment, system transformation Protocol PLC controller can be a computer (e.g., integrated system)that is configured to communicate with PLC controller and SCADA system by executing the application program. In practice, the program can read the configuration file that defines which data elements (e.g., memory, registers, or database fields) must be obtained from the PLC controller and the memory addresses (for example, the MODBUS address) to convert the data received from the PLC controller. The received data can be stored in the cell array shared memory, placed in the memory address described in the configuration file. The configuration file can be transferred to the PLC Protocol Converter controller using a known communication Protocol (such as ftp file transfer Protocol).

In addition, the program may include a first process configured for continuous reading of addresses needed PLC controller, one at a time, using the Protocol of the light and, supported PLC controller. For example, the Protocol Converter PLC controller can be physically connected to the PLC controller using a serial connection that allows the program to send requests for information via a serial data transmission Protocol used by the PLC controller. In this embodiment, as the communication Protocol uses the well-known NITP Protocol (Non-Intelligent Terminal Protocol). The first process may store the data values in the array shared memory within the program memory. Thus, the first process is the data from the PLC controller as specified in the configuration file.

At the same time, the program may also include a second process configured to provide data from an array of shared data in accordance with a second communication Protocol, for example, in a SCADA system. For example, the second process can provide data from shared memory using well-known TCP-MODBUS SCADA system that "understands" TCP-MODBUS. The implementation of this scheme allows to send data from the PLC controller in response to the needs of any head MODBUS device that is received through the LAN port available in the system transformation Protocol PLC controller. Thus, in practice, the conversion system FR the stake PLC controller impersonating himself PLC controller for sending data in response to MODBUS requests. Further, if the data values you want to add (or remove) from the set represented by the first process, the user simply modifies the configuration file, loads it into the system transformation Protocol PLC controller (for example, ftp), and restarts the program (for example, using the diagnostic interface based on the HTTP Protocol).

Mainly embodiments of the invention can be used for access only in read mode, data of any type in the database PLC controller (e.g., numeric, discrete, and others) and to provide data in the Protocol supported by the SCADA system. Moreover, embodiments of the invention do not require any settings of the PLC controller or restart/shutdown processor; can be connected/disconnected from the PLC controller without having any impact on him; and can be connected to SCADA system (e.g., via a TCP connection) to remotely configure, manage, and use.

For information, embodiments of the invention described in this document in relation to a particular PLC controller - series devices 5x5 supplied by Siemens AG, Berlin, Germany. As is known, a series of 5x5 (and in particular, series 505) represents PLC controllers, capable of providing data in CTE is t to requests formed using the NITP Protocol through a serial RS-232 connection, but it does not support (at least in the absence of special optional communications card) querying data using the MODBUS Protocol. Further, as is well known, even in the presence of additional communication cards conversion of the data in the MODBUS Protocol, provide communication card allows you to access only part of the available data types from the database PLC controller. However, a series of devices 5x5 is a good illustration and the formula of the present invention is not limited, as can be assessed by mid-level professionals.

One alternative implementation may be implemented as one or more programs for use in a computer system. Program (s) contains instructions for implementing embodiments of the invention (including the methods described herein) and can be stored on various computer devices. Illustrative examples of computer storage media include, but are not limited to, the following: (a) the permanent storage of data without recording capabilities (e.g., device read-only data, such as CD-ROM and DVD-ROM disks readable by the respective drive), and (b) recordable media data items the value the variable data (for example, floppy disks, hard disks, flash memory devices). Other media include communication means through which the data into the computer, such as a computer or telephone network, including wireless networks. The latest version of the implementation also includes the transfer of data to/from the Internet and other networks. Such computer storage media containing computer instructions that implement the functions of the present invention, represent embodiments of the present invention.

Moreover, herein, the description refers to embodiments of the invention. However, you must understand the following embodiments of limit formula of the present invention. On the contrary, any combination of distinctive features and elements related to other variants of the implementation or not, involves the implementation and application of the invention. In addition, in various embodiments, implementation of the invention provides numerous advantages over the prior art. However, although embodiments of the invention may provide advantages over other possible solutions and/or the prior art, the implementation of specific benefits in this embodiment does not limit the formulas of the invention. Thus, the following aspects, properties, options for implementation and the benefits are clear and are not considered elements or limitations of the appended claims, except when they are directly referred to in the claims. Similarly, the reference to "the invention" will not be interpreted as a generalization of any object of the invention described in this document and will not be considered as an element or limitation of the appended claims, except when they are directly referred to in the claims.

In General, executed to implement the embodiments of the invention, the program may be part of the operating system or a specific application, component, program, module, object, or sequence of instructions. Also part of the program variables and data structures that are stored in the program itself or retrieved from memory or from a storage device. In addition, as described below, various programs can be determined on the basis of the application for which they are implemented in a specific embodiment of the invention. Note, however, that any system of names of specific programs is used for convenience, and thus the invention should not be limited to used the eat solely in any specific application, identified and/or implied by such a system of names.

Figure 1 depicts a conceptual diagram of the controlled industrial facility 105 and production control center 130, which includes SCADA system 135 is configured to exchange data with the system data conversion PLC controller 120 and by the PLC controller 115, in accordance with the embodiment. As shown in the diagram, controlled industrial facility 105 includes a group of industrial units 110, control and managed by PLC controller 115. The group of industrial units 110 reflects the typical production processes, controlled by PLC controller 115. Examples of such industrial equipment can be cryogenic air separation plants, water treatment plants, evaporators liquid substances, the purification of hydrogen. As indicated, PLC controller 115 is a controller with programmable logic that is configured to exchange data with other components of the management process through communication channels that can be used in management processes a simple task switching (e.g., opening and closing of the valve)to control the PID-controllers, integrated data processing, arithmetic operations for synchronization control, technological etc the process, machine, etc. In this embodiment, the PLC controller 115 is a device series 5x5 supplied by Siemens AG, Berlin, Germany. Of course, in this case you can use any PLC controller with the above characteristics.

In one embodiment, PLC controller 115 may respond to requests for system transformation Protocol PLC controller 120. Such queries can be formed in accordance with the communication Protocol and transmitted over a communication channel arranged between the PLC controller 115 and system transformation Protocol PLC controller 120. For example, the conversion system Protocol PLC controller 120 may be configured to communicate with a PLC controller 115 via a serial connection (shown by the arrow 117) to send requests and receive responses using NITP Protocol.

At the same time, the system transformation Protocol PLC controller 120 may also be configured to communicate with a SCADA system 135 via LAN 137 (arrow 119). For example, SCADA system 135 may provide the requests of the head unit MODBUS system transformation Protocol PLC controller 120, referring to the unit recognized MODBUS addresses. In response, the application program executed by the system transformation Protocol PLC controller 120 may de the W ith the selection of values for the requested address from the array shared memory and pass them to the SCADA system 135.

In a particular embodiment, system transformation Protocol PLC controller 120 applies an integrated computer system model UC-7110 supplied by the company Moxa®, Inc., which uses a multithreaded application program, as described in detail below. As is known, the model UC-7110 is a ready to use computer-based RISC CPU with two serial ports and dual LAN. Of course, embodiments of the invention can be adapted for use with other computing means having the above characteristics.

In one embodiment, the query results from the SCADA system 135 are transmitted to the production control center 130. The production control center 130 may use multiple computer systems executing the application program used to coordinate, monitor and control operations on controlled industrial facility 105. For example, the Central control pipeline 130 includes SCADA system 135, database SCADA system 145, HTTP server 148 and the client system 170, which interact with each other on a local network 137. For information, computer systems 135 and 170, depicted in the structure of the control center 130, are characteristic of beings the possibility of the computer system, such as workstations, servers, laptops, tablet computers and other options But the implementation does not limit the invention by the use of any specific computer systems, applications, devices, architecture or network, but on the contrary can be adapted to take advantage of new computer systems and platforms as they become available. Additionally, a high level professional in the art understands that the image computer systems 135, 148 and 170 are simplified to highlight aspects of the present invention, and that the computing systems and networks typically include a large number of components, not shown in figure 1.

As indicated, SCADA system 135 may be configured to centralize data processing of various industrial processes and implementation of remote monitoring and control of controlled industrial facility 105. For example, get a SCADA system 135 data stored in the database 145. Further, the application to display data 175 may be configured to receive from the database 145 information about the present (or previous) state of the controlled industrial process. Typically, the HTTP server 148 is configured to send web pages in HTML format to be displayed by the web browser (for example, an application for displaying data SCADA system is s 175), where the contents of the web page displays information from the database 145 in a structured form. Accordingly, the client computer system 170 includes a web browser 175 used to display information received from an HTTP web server 148. Note that although the database 145 and the web server 148 is depicted as separate systems specialist intermediate level in the art understands that these components can be arranged and configured in various ways.

Figure 2 depicts a block diagram illustrating system components of the data conversion PLC controller 120 configured to implement the process of converting a Protocol of the PLC controller, in accordance with the embodiment. As shown, the system data conversion PLC controller 120 includes a Central processing unit (CPU) 215, a storage device 220, a memory 230, a serial port 205 and port Ethernet network 210, each of which is connected to the bus 211. As the CPU 215 may be used a single CPU, multiple CPUs, a single multi-core CPU, etc. for Example, integrated system by Moxa® includes 32-bit ARM9 processor with a clock frequency of 192 MHz. The storage device 220 provides permanent storage area of application programs and data for use by the system transformation Protocol PLC controller 120. P is Karami storage device 220 are one or more hard drives, solid-state drives, optical storage media, etc. For example, in the diagram, the storage device 220 has a configuration file 225. In one embodiment, the configuration file 225 is a set of comma-separated values (CSV), showing which addresses PLC controller you want to access through system transformation Protocol PLC controller 120 and in what MODBUS address it is necessary to convert (for example, in some MODBUS address).

The memory 230 may be a single device or a combination of both, such as memory, nonvolatile or backup memory (e.g., programmable or flash memory). For example, the memory 230 stores the operating system 260, an array of shared memory 250, the application of the Protocol Converter PLC controller 235. Operating system 260 is used to control hardware and software, running on the system transformation Protocol PLC controller 120, including the application of the Protocol Converter PLC controller 235. Additionally, the operating system 260 may include various auxiliary applications (for example, a server process via FTP and HTTP protocols)required for interaction with the system transformation Protocol PLC controller 120 and the application of the Protocol Converter PLC controller 235.

As shown in the scheme, the application of the Protocol Converter PLC controller 235 includes a first process 240 (labeled NITP process and the second process 245 (denoted as MODBUS process). In one embodiment, the first process 240 is configured to repeatedly read address of the PLC controller 115 defined in the configuration file 220. Further, the addresses are read one at a time using a Protocol supported by the PLC controller 115 (for example, NITP Protocol is supported PLC controllers series 505 Siemens, AG). First, the process 240 may store data values received from the PLC controller 115 in the array shared memory 250. Thus, the first process 240 provides data from the PLC controller 115 specified in the configuration file 220.

When you run the application Protocol Converter PLC controller 235 reads the configuration file 220, which describes the required addresses PLC controller and MODBUS addresses, which must be converted. In one embodiment, is read from the configuration file 220 information is presented in the format required for the formation of the set of messages used by the first process 240 for receiving data values from the PLC controller 115. For example, the NITP Protocol has limitations on the number of data items that can be sent in one message, so the message is usually formed in such the way, to PLC controller 115 was not overloaded with data requests. When the message is generated, the first process 240 begins one to send them to the PLC controller 115, each time waiting for a response before sending the next message. The data obtained for each successful query are placed in the array shared memory 250 for subsequent use by the second process 245 application Protocol Converter PLC controller 235. In one embodiment, the first process 240 sends messages continuously at equal intervals in an infinite loop until until it receives an interrupt to stop the execution of the application Protocol Converter PLC controller 235.

The second process 245 is typically configured to provide data stored in the array shared memory 250, SCADA system 135. That is, the second process 245 is typically configured to perform the functions of the MODBUS slave device, providing value MODBUS address upon request. For example, in one embodiment, the second process 245 expects a control request from a SCADA system 135 via the TCP connection established on port Ethernet network 210, and sends back the required values from the array shared memory 250. As the first process 240, the second process 245 may be performed in an infinite loop, all while being in the mode is idania new query SCADA system 135 to receive data until until it receives an interrupt to stop the execution of the application Protocol Converter PLC controller 235.

Figure 3 depicts a more detailed diagram of the organization of the array shared memory 250, used by the application Protocol Converter PLC controller 235, according to one variant embodiment of the invention. As shown in the diagram, an array of shared memory 250 includes a set of cells for storing numeric data values 335, a set of cells for storing discrete data values 340 and the set of cells for storing diagnostic values 345. Additionally, operations of the first process 240 (labeled in the diagram as NITP process) are depicted in figure 3 to the left of the array shared memory 250, and the operation of the second process 245 (marked on the diagram as MODBUS process) are depicted in figure 3 to the right of the array shared memory 250. In one embodiment, each cell for numeric data 335 and for discrete data 340 is used to store data values received from the PLC controller 115. Each cell for numeric data 335 and for discrete data 340 can also be set in accordance with a MODBUS address that allows the second process 245 responding SCADA system 135 to obtain values MODBUS address.

In one embodiment, each cell array of numeric data values uses 4 Bai is but a memory for storing floating point numbers. In the numeric data values 335 are usually stored the results of measurements of parameters of an industrial object 105, which may vary in a continuous range, for example, temperature, pressure, flow rate, etc. In the values of the discrete data 340 are usually stored the results of measurements of parameters of an industrial object 105, which may be an integer or Boolean values, for example, an integer counter that reflects the state of the switch is "on" or "off".

More clearly, Figure 3 depicts the address LPV1," address "V101" and the address "LSP3"received from the PLC controller 115, which are stored in the first three boxes for numeric data values 335 array shared memory 250. As shown, address "LPV1", "V101" and "LSP3" match of a loop control variable 1, variable shared memory 101 and the set value control loop 3 for PLC series controller 505 Siemens. Further, in this example, the cell array are placed in the first three values of the sequence MODBUS addresses starting from register "40000". As you know, MODBUS addresses are divided into blocks, where a sequence of registers, starting with register "40000", always reserved for storing numeric data. In one embodiment, the SCADA system 135 may request any value of numeric data 335, sending the message to the second process 245 through the connection Ethernet 210. In response, the second process 245 makes the retrieval of values from an array shared memory 250, and transmits them to the SCADA system 135 via the network connection Ethernet 210, as shown by the arrow 320.

Similarly, Figure 3 depicts the address "X1" and the address "C3"received from the PLC controller 115, which are stored in the first two cells for values of discrete data array 340 shared memory 250. As shown, the address "X1" and "C3" are consistent with the state 1 of the switch and an output coil 3 for PLC series controller 505 Siemens. Further, in this example, the cell array are placed in the first two sequence values MODBUS address from register "10000". As in the case of the numeric data values 335, SCADA system 135 may request any value discrete data 340, sending the message to the second process 245 via the network connection Ethernet 210. In response, the second process 245 makes the retrieval of values from an array shared memory 250, and transmits them to the SCADA system 135 via the network connection Ethernet 210, as shown by arrow 325.

In one embodiment, in addition to receiving data values from the PLC controller 115 first process 240 may also be configured to record information of a cell array shared memory 250, reserved for diagnostic values 345. For example, Figure 3 depicts a cell array, a registered datakey diagnostic information as date, time, General condition, etc. of the Diagnostic value 345 convenient for recording information relating to the operating state of the Converter application Protocol PLC controller 235 and/or system data conversion PLC controller 120. As the address values PLC controller, SCADA system 135 may send a request to obtain diagnostic values 345 second process 245. In response, the second process 245 makes the retrieval of values from an array shared memory 250, and transmits them to the SCADA system 135 via the network connection Ethernet 210, as shown by the arrow 330.

Figure 4 illustrates a method 400 by which the application of the Protocol Converter PLC controller 235 communicates with PLC controller 115, using the desired communication Protocol, in accordance with one embodiment of the invention. In one embodiment, the method 400 can be implemented by means of application of application of Protocol Converter PLC controller 235 to communicate with PLC controller 115 (e.g., PLC controller series 505 Siemens, AG) and with SCADA system 135, as described above. However, the average expert in the art understands that examples of specific hardware, software, and tools used in this text as an example, as other types of similar objects can be used without going beyond the crust is asego of the invention.

As shown, method 400 begins at step 405, where the application of the Protocol Converter PLC controller 235. In one embodiment, the application reads the configuration file 220 and generates an array of shared memory 250. Initially, the array 250 includes cells for numeric data values 335, values of discrete data 340 and diagnostic data 345, as specified in the configuration file 220, but without any specific values in the array elements. In step 410, the application of the Protocol Converter PLC controller 235 executes the first process 240 and the second process 245. The operations performed by the first process 240 described with reference to steps 410-435, and the operations performed by the second process 245, described with reference to steps 445-465.

In step 415, the first process 240 establishes a connection with a PLC controller 115. For example, as described above, a serial connection RS-232 port can be installed with PLC controller series 505 Siemens, AG. Steps 420-435 represent the loop performed by the first process 240 to until the application is running the Protocol Converter PLC controller 235. In step 420, the first process 240 determines the next value of the data that should be requested from the PLC controller 115. For example, the first process 240 may contain an index pointing to the last modified value in the array share the first memory 250. In this case, the first process 240 simply moves to the next index value in each iteration of the steps 420-435 within the cycle. In step 425, the first process 240 sends a message to the PLC controller 115 with a request to PLC controller defined in step 420. For example, as described above, the message generated using the NITP Protocol, is sent to the PLC controller series 505 Siemens, AG. When the response is received, transferred from the PLC controller 115 stores the value in the corresponding position of the array shared memory 250 (step 430). In step 435, the first process 240 determines if the command is terminated (e.g., via an interrupt). But until then, while the application is running the Protocol Converter PLC controller 235, the first process 240 continues to read destination address PLC controller, one at a time.

In one embodiment, the second process 245 responding SCADA system 135 about getting values from array shared memory 250, while they updated the first process 240. At step 445 the second process establishes a connection with SCADA system 135. For example, as described above, the application of the Protocol Converter PLC controller 235 may be configured to establish a connection with SCADA system 135 TCP, allowing the second process 245 to act as a MODBUS slave device. Steps 450-40 form a cycle, executing the second process 245 until then, while the application is running the Protocol Converter PLC controller 235. In step 450, the second process 245 receives a request for a sample of the range of values from an array shared memory 250. In one embodiment, the request may be generated request via MODBUS Protocol for obtaining the range of MODBUS addresses. At step 445 the second process 245 samples requested values from the array shared memory 250, and at step 450 transmits the requested data in the SCADA system in the appropriate format (for example, the format MODBUS). At step 465, the second process 245 determines if the command is terminated (e.g., via an interrupt). But until then, while the application is running the Protocol Converter PLC controller 235, the second process 245 is in standby mode and continues to respond to requests to obtain information from an array of shared memory 250.

Mainly embodiments of the invention provide a system data conversion PLC controller, which allows the SCADA system to effectively communicate with PLC controller, using the desired communication Protocol, especially in cases when the PLC controller does not support the requested communications Protocol. As described above, embodiments of the invention can be used to ensure the organization on the stupa only in read mode to any of the data types from the database PLC controller (for example, numeric, discrete, and others), as well as to provide data using a communication Protocol supported by the SCADA system. Moreover, embodiments of the invention do not require to do any configuring the PLC controller or restart/shutdown processor; can be connected/disconnected from the PLC controller without having any impact on him; and can be connected to SCADA system (e.g., via a TCP connection) to remotely configure, manage, and use.

This document describes the preferred methods and tools for practical implementation of the present invention. The person skilled in the art it is clear and obvious that in the above described embodiments of can be made many changes and improvements, without going beyond the nature and scope of the present invention. The above-described embodiments of are only illustrative and any other embodiments of the described techniques and tools can be used without going beyond the scope of the invention described in the following claims.

1. Method of providing data from a controller device with programmable logic (PLC), comprising:
accessing the configuration file that defines many PLC addresses deprecatively;
initialization of array shared memory, with an array of shared memory includes multiple elements, each of which is used to store data received from the PLC device;
initiating a first process, the first process configured to repeatedly carry out:
transfer request for one of these specific PLC address, the request generated in accordance with the first communication Protocol, the first communication Protocol is a Protocol NITP, and
saving the data values returned by the PLC device in response to the above request, in one of the elements of the array shared memory; and
initiating the second process, the second process configured to implement:
receive a request transmitted in accordance with a second communication Protocol, to one or more of the data values stored in the array shared memory
fetching the requested one or more data values, and
return the requested data values in a format compatible with the second communication Protocol.

2. The method according to claim 1, wherein the request for one or more data values transmitted by the system Supervisory control and data acquisition (SCADA) and returns it.

3. The method according to claim 1, wherein the first Protocol is used for communication through the serial communication line established between the PLC device and the first process.

4. The method according to claim 1, wherein the second Protocol is a TCP/MODBUS.

5. The method according to claim 1, wherein the array of shared memory contains at least one value of numeric data.

6. The method according to claim 1, wherein the array of shared memory contains at least one value of discrete data.

7. The method according to claim 1, wherein the array of shared memory contains at least one diagnostic value.

8. The computer-readable storage medium containing a program configured to implement the method for providing data from the device controller with programmable logic (PLC), containing instructions for performing operations that include:
accessing the configuration file that defines many PLC addresses to provide;
initialization of array shared memory, and an array of shared memory includes multiple elements, each of which is used to store data received from the PLC device;
initiating a first process, the first process configured to repeatedly carry out:
transfer request for one of these specific PLC address, the request generated in accordance with the first communication Protocol, the first communication Protocol is a Protocol NITP, and
the conservation value of the data is x, returned PLC device in response to the above request, in one of the elements of the array shared memory; and
initiating the second process, the second process configured to implement:
receive a request transmitted in accordance with a second communication Protocol, to one or more of the data values stored in the array shared memory
fetching the requested one or more data values, and
return the requested data values in a format compatible with the second communication Protocol.

9. The computer-readable storage medium of claim 8, in which a request for one or more data values transmitted by the system Supervisory control and data acquisition (SCADA) and returns it.

10. The computer-readable storage medium of claim 8, in which the first Protocol is used for communication through the serial communication line established between the PLC device and the first process.

11. The computer-readable storage medium of claim 8, in which the second Protocol is a TCP/MODBUS.

12. The computer-readable storage medium of claim 8, in which an array of shared memory contains at least one value of numeric data.

13. The computer-readable storage medium of claim 8, in which an array of shared memory contains at least one value of discrete data.

14. The computer-readable storage medium of claim 8, the which an array of shared memory contains at least one diagnostic value.

15. A computer system configured to provide data from the device controller with programmable logic (PLC), comprising:
processor; and
memory where the program is configured to implement the method of providing data from the PLC device containing instructions for performing operations, comprising:
the interpretation of the configuration file that defines many PLC addresses to provide;
initialization of array shared memory, with an array of shared memory includes multiple elements, each of which is used to store data received from the PLC device;
initiating a first process, the first process configured to repeatedly carry out:
the transmission request through one of the PLC address, the request generated in accordance with the first communication Protocol, the first communication Protocol is a Protocol NITP, and
saving the data values returned by the PLC device in response to the above request, in one of the elements of the array shared memory; and
initiating the second process, the second process configured to implement:
receive a request transmitted in accordance with a second communication Protocol, to one or more of the data values stored in the array shared memory
sample Zap osennih one or more data values and
return the requested data values in a format compatible with the second communication Protocol.

16. The system of clause 15, in which the request to obtain one or more data values transmitted by the system Supervisory control and data acquisition (SCADA) and returns it.

17. The system of clause 15, in which the first Protocol is used for communication through the serial communication line established between the PLC device and the first process.

18. The system of clause 15, in which the second Protocol is a TCP/MODBUS.

19. The system of clause 15, in which an array of shared memory contains at least one value of numeric data.

20. The system of clause 15, in which an array of shared memory contains at least one value of discrete data.

21. The system of clause 15, in which an array of shared memory contains at least one diagnostic value.



 

Same patents:

FIELD: information technologies.

SUBSTANCE: wireless field adapter (114) for maintenance comprises a source (132) of supply, a controller (130), a low-capacity radio-frequency module (122) of communication and a module (120) of a technological process wireless communication protocol. The controller (130) is connected with the source (132) of supply. The low-capacity radio-frequency module (122) of communication is also connected to the controller (130). The module (120) of the technological process wireless communication protocol is connected with the controller (130). The controller (130) is configured with the possibility of establishing communication via the module (120) of the technological process wireless communication protocol on the basis of information received from the low-capacity radio-frequency module (122) of communication.

EFFECT: simplified performance of control testing during maintenance.

20 cl, 5 dwg

FIELD: physics.

SUBSTANCE: present group of inventions relates to a process device wireless adapter. The process device wireless adapter includes a wireless communication module configured to communicatively connect to a process device and to a wireless receiver, wherein the wireless communication module is configured to interact with the process device in accordance with the standard technological protocol; a metal housing which surrounds the wireless communication module and has a first end and a second end, wherein the first end is configured to attach to the process device; a metallic shield which is in contact with the second end of the housing such that the metallic shield and the housing form an essentially continuous conducting surface; and an antenna which is communicatively connected to the wireless communication module and separated from the wireless communication module by the metallic shield.

EFFECT: design of a wireless communication adapter of a process device which is provided with electromagnetic interference protection and has a small form factor.

17 cl, 8 dwg

FIELD: information technology.

SUBSTANCE: apparatus with a network server computer and a programmable control unit for controlling a household appliance with several controllers, wherein the network server computer has memory for storing at least one website with at least one input means for actuating the control unit, and the control unit has at least one communication interface for establishing a network connection, through which a website can be accessed, wherein the network server computer is at least partially integrated into the control unit, and the control unit is adapted to launch an automatic installation process, wherein the control unit, through the communication interface, sends a controller list with controllers connected to the control unit to a central server installation computer and requests the website from the central server installation computer.

EFFECT: possibility of an automatic installation process for a household appliance with a plurality of user interfaces adapted under corresponding controllers.

20 cl, 16 dwg

FIELD: food industry.

SUBSTANCE: system for production of multiple types of food products that may be differed from each other in terms of configuration and/or composition; the system contains a container (2) for transportation of multiple moulds (M) placed on it along multiple work places (S1-S16). Each mould (M) is equipped with a corresponding electronic ID device (T) including memory devices (4). Each work place (S1-S16) is equipped with at least one corresponding electronic unit (A-E) including a processor (9) connected to the memory devices (10) and at least one antenna or a similar device (15) and is designed to be able to read information or data and/or to record information or data to the memory devices (4) of the mould (M). The initial input work place (S1) transfers or records to the memory devices (4) information on identification of products (P) moulded in the mould (M) while the electronic unit of each additional work place (S3, S6 …) can selectively modify the execution mode, of at least one operation in accordance with processing information read from the memory devices (4) wherewith each mould (M) passing through the work place is equipped.

EFFECT: according to the invention the system allows to adapt the process of moulded products production in real time in a flexible manner and in a flexible way on the basis of the specified requirements.

20 cl, 5 dwg

FIELD: information technology.

SUBSTANCE: invention relates to a data support system (1) for handling processes based on electronic data exchange to obtain information (37, 39) for handling processes (2). Information is obtained (34) through at least one application subsystem (24), which enables to obtain information (37, 39), relating to the present situation (situational information). Information for handling processes (2) is obtained (34) through at least one application subsystem (24).

EFFECT: providing situational data for a process and scheduling, and the user of an information support system is less burdened from the qualified process of obtaining information.

2 dwg

FIELD: information technology.

SUBSTANCE: disclosed is a method for making online programme changes in an automation system, wherein online programme changes are made by loading new programme parts into the CPU of the automation system, where a current application programme is currently running, in order to prepare a new application programme, and where in order to prevent overloading of the CPU, final switching is made to the new application programme only after it is determined, by monitoring the first processing of all the programme cycles of the new application programme, that the CPU has not been overloaded.

EFFECT: high reliability of the automation system owing to monitoring CPU overloading.

3 cl, 2 dwg

FIELD: information technology.

SUBSTANCE: in the automation system, automation processors are connected to the system bus EN which is based on an Ethernet interface in form of an annular structure of series-connected network switches, each of two backed up automation processors is connected to network switches of the bus EN on two channels, on one channel to one switch and on the other channel to the other switch; backed up automation processors are connected to each other on separate serial interfaces and are fitted with means of controlling hot backup; input/output stations are backed up and contain backed up SP modules connected in pairs over signalling lines, fitted with means of controlling hot backup, and on two backed up interface modules connected to each other on separate serial interfaces with means of controlling hot backup; backed up automation processors are connected to interface modules of input/output stations over a backup bus ENL which is based on Industrial Ethernet with a radial communication topology.

EFFECT: high reliability, fast switching to backup equipment, freeing computational resources from the task of controlling backup.

3 dwg

FIELD: information technology.

SUBSTANCE: in the software-hardware system for controlling technological processes, automation processors are connected to an EN system bus which is based on the Industrial Ethernet interface in form of a ring structure of series-connected network switches, over two channels; the automation processors are connected to input/output stations having an interface module and modules for communication with the technological process; the automation processors are connected to the interface modules of the input/output stations over an ENL bus which is based on Industrial Ethernet with a radial connection topology and ensuring the minimum possible data exchange time for the Industrial Ethernet; the interface module of the input/output station is connected to each module for communication with the technological process over a separate serial interface of the input/output bus; automation processors also have channels for connecting to ENS buses based on Industrial Ethernet on a ring connection topology for constructing multiply backed-up systems.

EFFECT: high reliability of the system bus, high rate of collecting technological process data and high fault-tolerance.

5 cl, 5 dwg

FIELD: information technology.

SUBSTANCE: control device for a process control loop has a housing (50) which can be clamped during the production process. The circuit (62) of the loop interface is connected to the process control loop (18) and receives data from the process control loop (18). Memory (64) stores data received by the circuit (62) of the loop interface from the process control loop (18).

EFFECT: simple process of controlling production processes.

25 cl, 4 dwg

FIELD: electricity.

SUBSTANCE: process device (34, 360, 500, 600) consists of controller (36, 362) and wireless communication module (32, 366, 506). Wireless communication module (32, 366, 506) is connected to controller (36, 362). There provided is electric power generating module (38, 365, 508, 602, 604, 620) that generates electricity for process device. Electric power generating module (38, 365, 508, 602, 604, 620) can be located inside process device or can be a separate unit connected to it.

EFFECT: improving of power supply reliability.

2 cl, 13 dwg

FIELD: tire industry.

SUBSTANCE: proposed plant contains great number of working units operating successively. Plant is furnished with central processor made for setting successive execution of great number of operations at working stations. Each working station contains at least one unit of indicated working units according to one or several set sequences of tire types. Plant includes also local processor connected with each working station and made for determining type corresponding to drum found in each of said working units. Local processor provides selection of definite procedure from preset group of procedures for each of said working units designed for type of tire corresponding to drum to be used in operation. Invention reduces to minimum downtimes for changing type of tire to be manufactured and makes it possible to manufacture lots of tires of different types without changing equipment producing tire semifinished products.

EFFECT: provision of automatic manufacturing of different type tires.

9 cl, 3 dwg

FIELD: ferrous metallurgy; nonferrous metallurgy; methods of automated control over ore mining and dressing production.

SUBSTANCE: the invention is pertaining to the field of ferrous and nonferrous metallurgy, in particular, to the method of automated control over ore mining and dressing production by means of the branched computer network. The technical result of the invention is an improved quality and effectiveness of the control. The method provides for a measurement within the preset time intervals of an electrical power consumption (PC) by equipment of the technological link (TL) of mining, TL of bucking and TL of iron-ore concentrate production per 1 ton of the product, mains voltage and determination of the correcting coefficient considering the effect of the mains voltage value. On the basis of statistical data for the equipment of the TL of mining, TL of ore bucking and TL of an iron-ore concentrate production considering mechanical and chemical properties of the raw material and the number of units of operating equipment they introduce in the controlling system the boundary parameters (BP) of acceptable values of PC used for production of 1 ton of the products at the fixed main voltage. At the stage of processing by the TL of mining the initial ore is weighted and averaged for bringing of the mechanical and chemical parameters to the preset boundary parameters for processing by the following technological links. At the stage of ore processing by TL of bucking they check the chemical composition and mechanical properties of an intermediate product. At a stage of processing of ore by TL of production of the iron-ore concentrate they determine amount of products of the preset chemical composition produced from 1 ton of the ore, For each link of TL fix the number of the equipment units operating in parallel. Then make a comparison of the power consumed by each TL for production of 1 ton of products with the boundary parameters acceptable PC values per 1 ton of the products for the data of the initial ore composition, parameters of the TL products and a quantity of the units of the equipment in parallel operating in composition of TL. Determine the value of deviations and multiply by the coefficient considering the effect of the mains voltage value. If the measured values of PC exceed at the indicated TLs preset boundary parameters (BP)of acceptable values of PC per 1 ton of the products fix the operating irregularity of the equipment of the particular TL. Analyze the dynamics of the gained deviations rise time and by the obtained results of the analysis determine the sequence and the volume of diagnosing of the particular unit of the TL equipment. After that step-by-step transfer the TL equipment in a diagnostic mode of operation, conduct its diagnosing and issue a command to change the mode of operation of the particular units of the TL equipment or to cease their operation.

EFFECT: the invention ensures an improved quality and effectiveness of the control.

1 dwg

FIELD: automatics and computer science, possible use for developing solutions for tasks for controlling modes of expansive electric energy based systems.

SUBSTANCE: in control system consisting of several sub-systems, connected by means of communication with computer machine, and optimization module connected thereto, computer machine is selected as computer machine of upper level, and each subsystem is provided with computing machine of lower level, herein optimization module and block for calculating functional characteristics of current subsystem are realized, while system is also provided with means for upper level communication and means for lower level communication, computing machines of lower level through communication means of upper level are connected to computing machine of upper level and through communication means of lower level are connected to subsystems.

EFFECT: decreased total amount of information transferred while controlling modes of electric energy based systems, increased speed of operations.

4 cl, 2 dwg

FIELD: engineering of systems for automatic control over technological processes.

SUBSTANCE: in the method appropriate for invention at least one controlling computing machine is utilized and a certain amount of field devices, while status signals and control signals between at least a portion of field devices and controlling computing machine are transferred using TCP/IP protocol via communication channel, preferably for radio-communication and/or Internet. System for controlling process appropriate for invention has controlling computing machine with Web-server, computing machine of client with Internet browser, and also multiple indicators and positioning devices; system for controlling process is preferably services by means of Internet through personal computer of client.

EFFECT: improved universality of software used for servicing and observing.

2 cl, 3 dwg

FIELD: engineering of controlling and adjusting systems for controlling technological processes.

SUBSTANCE: complex contains workstations and servers based on personal electronic computer machines, connected as a local area Ethernet network, and also controllers and functional modules. Programmable logical integral circuits, built into each functional module, support programming of practically any algorithms for processing signals and control, adequate for tasks, assigned by engineer to current module. Three variants of system engineering are possible on basis of means included in complex: centralized control, local control, distributed control. In all three variants central microprocessor module controlled by software performs primary configuring of functional modules, information exchange, control and diagnostics of software and hardware means.

EFFECT: expanded functional capabilities, increased reliability, improved maintainability.

14 cl, 19 dwg

FIELD: computer systems engineering, welding systems, possible use for providing welding architecture to make possible interactive realization of remote configuration, monitoring, control and business operations in distributed environment, wherein welding processes are performed.

SUBSTANCE: system includes at least one welding device, operatively connected to network server, network interface and network for exchanging data with at least one remote system. Remote system includes at least one remote interface for exchanging data with network architecture. Remote system is made with possible request of at least one HTTP socket for setting up connection to welding device through network, loading at least one application from welding device and communication with at least one welding application socket through at least one application for exchanging information between welding device and remote system. At least one appropriate includes at least one of components: welding configuration component, welding monitoring component and welding control component. Method for provision of distributed welding architecture includes stages, at which: welding device is connected to network interface. For setting up network connection through network interface to remote system, at least one socket is used: HTTP socket or welding application socket, where HTTP socket is used for exchanging data with remote systems. Structure of data, providing welding protocol, includes at least one of following fields: field of options/flags, field of order of messages, message status field, data length field, data field, server commands field, server command identifier field, server command arguments field, machine field, machine address field, field of identifier of method/property and field for arguments of method/property.

EFFECT: decreased time and labor costs related to technical maintenance and adjustment of multiple welding devices and systems.

6 cl, 22 dwg

FIELD: connecting controller may be used in gas transportation systems.

SUBSTANCE: connecting controller contains electric interconnection, which connects a set of input ports to processor and memory. In accordance to invention, marked data may be grouped in time and space by means of central computer using attributes. Processor may utilize aforementioned data to constantly monitor, determine parameters and control the whole gas transportation system.

EFFECT: controller precisely distributes system events in time and space, using marked data for this purpose, resulting in increased efficiency of system, control over repairing of breakdown, capacity for planning of advance technical maintenance and routine maintenance.

5 cl, 6 dwg

FIELD: electrical communication networks, radio technique, computing technique.

SUBSTANCE: apparatus for controlling system of objects includes power conductor connected to autonomous electric power source; adapters connected between power conductor and objects. Adapters forming together with objects control circuits are programmed for setting timing of data receiving. Power conductor serves simultaneously for transmitting data. Adapters are made with possibility of taking noises into account. Adapter connected between power conductor and autonomous electric power source is made with possibility of simultaneous transmission of data between all other adapters while taking into account time moments of noise occurring and with possibility of regulating voltage of electric power source. Adapter for such apparatus is also offered in description of invention.

EFFECT: improved quality of control process.

2 cl, 7 dwg

FIELD: the invention refers to automated control systems.

SUBSTANCE: it may be used for management of industrial-technological processes of an enterprise of gas and oil industry with controlling inputs at the place of their origin. The invention allows to control the industrial-technological process at each management level together with industrial-technological indexes and control the values of evaluations of indexes of effectiveness which so, as the industrial-technological indexes are compared with permissible borders.

EFFECT: increases effectiveness of management due to operative local response at effectiveness reduction on a part of the industrial-technological process of the enterprise.

1 dwg

FIELD: method and system for computerized preparation of parts in elevator engineering.

SUBSTANCE: method includes storing information which is important for logistics in control list of database in form of data about parts required in elevator engineering, parts being prepared are fitted with readable and recordable carrier of information with data memory, these parts are prepared, information which is important for logistics is recorded by means of a computer into memory of information carriers, prepared parts are delivered to the construction site, at the construction site the information important for logistics is read from the memory of information carrier, the information is checked by means of a computer and delivered parts are placed at specified distribution stations using read logistics information. The system contains a database, a reading/recording device, an information carrier with data memory, a processing block.

EFFECT: expanded functional capabilities.

2 cl, 1 dwg

Up!