The present application claims the benefit of priority of Japanese Patent Application No. 2011-156538, filed on Jul. 15, 2011, the contents of which are incorporated herein by reference.
1. Technical Field
The present disclosure relates to a field communication system which executes communication between field devices as slave devices and communication modules as master devices.
2. Related Art
A pair of PROFIBUS communication modules are mounted for one controller to form a redundancy configuration. On the other hand, each slave device supporting a slave redundancy specification according to the PROFIBUS standard has two ports to which the communication modules of the redundancy configuration are connected respectively to form a PROFIBUS slave redundancy configuration.
As shown in
The field devices 1, 1, . . . are slave devices each supporting a slave redundancy specification according to the PROFIBUS standard. Each field device 1 has a first port 11 and a second port 12.
The communication modules 102 and 102 are mounted as paired modules for one controller 20 to form a redundancy configuration in such a manner that one of the communication modules 102 and 102 serves as a control-side module while the other serves as a standby-side module. When a failure occurs in the control-side module, the control-side module and the standby-side module are switched to each other in role so that a communication process can be continued.
The communication modules 102 and 102 operate as master devices respectively. In each field device 1 serving as a slave device having a redundancy function, one of the first port 11 and the second port 12 serves as a control-side port and the other serves as a standby-side port to perform master-slave communication with the communication modules 102 and 102 through segments 151 and 152 respectively.
The controller 20 outputs the same data to the first port 11 and the second port 12 which are two ports of each field device 1 serving as a slave device, through the two communication modules 102 and 102. Of the data, data (output data) outputted to the control-side port of the field device 1 are used actually. In addition, the controller 20 receives data (input data) outputted from the control-side port of the field device 1, through the control-side module of the two communication modules 102 and 102.
The following two patterns are provided for switching the control between the ports of the field device 1 serving as a slave device (switching between the control side and the standby side).
(1) Switching made by the controller 20 by writing a command into a control register of the field device 1.
(2) Switching made by the field device 1 itself by detecting a failure in self-diagnosis.
When there occurs a failure in the communication module connected to the control-side port of the field device 1 serving as a slave device, master-slave communication on the communication line (segment) therebetween is disconnected. Thus, the control of the communication module is switched (the communication module serving as a standby-side module is changed to the control side) while the field device 1 serving as a slave device detects a failure in communication with the communication module and changes the other port serving as a standby-side port to the control side to continue the communication.
[Patent Document 1] JP-A-2005-32087 (FIG. 3)
In the field control system shown in
One or more exemplary embodiments of the present invention provide a field communication system in which the reliability of master-slave communication can be improved.
A field communication system includes a field device as a slave device, having a first slave communication port and a second slave communication port, a communication module as a master device, having first master communication port and a second master communication port, configured to execute communication with the field device, a first communication line configured to connect the first slave communication port with the first master communication port, and
According to the field communication system, the first slave communication port and the first master communication port are connected to each other through the first communication line, and the second slave communication port and the second master communication port are connected to each other through the second communication line, so that the reliability of communication can be improved by use of the first master communication port and the second master communication port provided in the communication module.
The above and other aspects of the present invention will become more apparent from the following description of exemplary embodiments, taken in conjunction with the accompanying drawings of which:
Exemplary embodiments of a field communication system according to the invention will be described below.
As shown in
The field devices 1, 1, . . . are slave devices each supporting a slave redundancy specification according to the PROFIBUS standard. Each field device 1 has a first port 11 and a second port 12.
The communication modules 2A and 2B are mounted as paired modules for one controller 20 to form a redundancy configuration in such a manner that one of the communication modules 2A and 2B serves as a control-side module while the other serves as a standby-side module. When a failure occurs in the control-side module, the control-side module and the standby-side module are switched to each other in role so that a communication process can be continued.
The communication modules 2A and 2B operate as master devices respectively. In each field device 1 serving as a slave device having a redundancy function, one of the first port 11 and the second port 12 serves as a control-side port and the other serves as a standby-side port to perform master-slave communication with the communication modules 2A and 2B through segments (communication lines 51 and 52 which will be described later) respectively.
The controller 20 outputs the same data to the first port 11 and the second port 12 which are two ports of each field device 1 serving as a slave device, through the two communication modules 2A and 2B. Of the data, data (output data) outputted to the control-side port of the field device 1 are used actually. In addition, the controller 20 receives data (input data) outputted from the control-side port of the field device 1, through the control-side module of the two communication modules 2A and 2B.
The following two patterns are provided for switching the control between the ports of the field device 1 serving as a slave device (switching between the control side and the standby side).
(1) Switching made by the controller 20 by writing a command into a control register of the field device 1.
(2) Switching made by the field device 1 itself by detecting a failure in self-diagnosis.
When there occurs a failure in the communication module connected to the control-side port of the field device 1 serving as a slave device, master-slave communication on the segment therebetween is disconnected. Thus, the control of the communication module is switched (the communication module serving as a standby-side module is changed to the control side) while the field device 1 serving as a slave device detects a failure in communication with the communication module and changes the other port serving as a standby-side port to the control side to continue the communication.
Next, description will be made on the characteristic configuration in the embodiment.
As shown in
In addition, a first communication line 51 is connected to the first port 21 of the communication module 2A, the first port 21 of the communication module 2B and the first ports 11, 11, . . . of the field devices 1, 1, . . . , and a second communication line 52 is connected to the second port 22 of the communication module 2A, the second port 22 of the communication module 2B and the second ports 12, 12, . . . of the field devices 1, 1, . . .
In the embodiment, the communication module serving as a control-side module (hereinafter also referred as control-side communication module) exchanges data with the field devices 1, 1, . . . and the communication module serving as a standby-side module (hereinafter also referred as standby-side communication module) monitors the operation/suspension of the control-side communication module. The control-side communication module notifies the controller 20 of the state of communication with the field devices 1, 1, . . . and the standby-side communication module notifies the controller 20 of the state of the control-side communication module. The controller 20 makes a comprehensive judgment based on those notifications and determines which communication module, i.e. the communication module 2A or the communication module 2B, control should be granted to (i.e., which communication module should be set as the control-side module).
The communication module to which control is granted exchanges data with the field devices 1, . . . serving as slave devices. On this occasion, both the first port 21 and the second port 22 of the control-side communication module perform similar communication as masters. For example, in
Although the controller 20 outputs the same data to the first port 21 and the second port 22 of the control-side communication module, only the data outputted to the control-side ports of the field devices 1, 1, . . . are valid. That is, in
The standby-side communication module, that is, the communication module 2B in
In this manner, according to the embodiment, a PROFIBUS redundancy system is configured in combination with a redundant communication function in which each communication module has two ports, so that the communication module may have a redundant configuration in view from one port of each slave device. Accordingly, even if a failure occurs in one communication module, communication with both the ports of each slave device having the redundant function can be continued by the other communication module.
In the field communication system according to the embodiment, each port of each communication module can be selected as the control/standby side. That is, each of the first port 21 and the second port 22 of the communication module 2A in
In
In addition, as shown in
In this manner, according to the embodiment, not each communication module but each port in the communication module is allowed to be set as the control/standby side. Thus, control based on ports can be switched. It is therefore possible to further enhance the redundancy configuration.
As shown in
As shown in
In addition, when the field devices 10, 10, . . . are connected and assigned to the first communication line 51 and the second communication line 52 in the field communication system according to the first embodiment shown in
Basically, resources in each communication module have a fixed number of devices which can be engineered for each port. However, when setting is done by a user's request to make a difference in the maximum number of devices which can be engineered between two ports of the communication module, it is also possible to assign the resources of the communication module flexibly to each port.
According to the field communication system according to the embodiments, the first slave communication port and the first master communication port are connected to each other through the first communication line, and the second slave communication port and the second master communication port are connected to each other through the second communication line, so that the reliability of communication can be improved by use of the first master communication port and the second master communication port provided in the communication module.
In addition, when communication modules are made redundant, a redundancy configuration can be built in the communication modules in view from one port of each field device serving as a slave device. Accordingly, even if a failure occurs in one communication module, communication with both the ports of each slave device having the redundant function can be continued by the other communication module.
The scope of application of the invention is not limited to the aforementioned embodiments. The invention is applicable broadly to a field communication system in which communication is executed between field devices as slave devices and communication modules as master devices.
Number | Date | Country | Kind |
---|---|---|---|
2011-156538 | Jul 2011 | JP | national |