The present disclosure relates to a temperature controller system including a plurality of temperature controllers which are to be connected to a PLC (Programmable Logic Controller).
Recently, the PLC communication has been widely used. The PLC communication means communication such as CC-link, PROFIBUS, or DeviceNet in which the specification is made public. A request for enabling a temperature controller to be connected to such a PLC is increasing day by day.
In order to connect a temperature controller to a PLC, however, a dedicated component is usually required, and hence this causes the production cost of the temperature controller itself to be increased. Furthermore, the method of setting the memory map of a memory which is used in communication using a temperature controller is complicated. Therefore, it is requested to provide a temperature controller which can be easily used by the user. The following is known as a literature of the related art of connecting such a temperature controller through a network.
[Patent Reference 1] JP-A-2003-140739
Hereinafter, a related-art temperature controller system will be described with reference to
The temperature controllers 30, 40, 50 are in a slave relationship to the PLC 20 which is the master, and connected to the PLC 20 through a dedicated cable L2 by means of the PLC communication. The temperature controllers 30, 40, 50 incorporate electric data sheets (hereinafter, referred to as “EDS files”) 31, 41, 51, respectively.
For example, the EDS file 31 is an electronic file in which information of a slave apparatus (the temperature controller 30) is stored. As in the table which is shown in
Specifically, an electronic file (in this case, “EDS file”) in which information of slave apparatuses (the temperature controllers 30, 40, 50) is stored contains:
The EDS file 31 and the like are made public by the manufacturer of the slave apparatus (the temperature controller 30) in the format which is defined in the standard of the PLC communication. Alternatively, they may be attached to the slave apparatus to be used, or made public on the Internet to be used.
In addition, there is a case where software for producing the EDS file 31 is provided to the user by the manufacturer of the slave apparatus (the temperature controller 30), and the user who is provided with the software uses it by a method in which the EDS file 31 is produced in accordance with the request of the user oneself.
The thus produced EDS file 31 is once stored on a recording medium such as a CD-R, and then subjected by the user to be read into the PC 10. Thereafter, the EDS file 31 is registered by the user into the PLC 20 which is the master, through the communication line L1, and the arrangement of the memory map for performing the PLC communication with the slave apparatuses (the temperature controllers 30, 40, 50) is set in the PLC 20.
With respect to the temperature controllers 40, 50 connected to the system, similarly, the EDS files 41, 51 are produced, and registered into the PLC 20 which is the master, and the memory map in the PLC 20 is set for communication.
As described above, in the case where plural temperature controllers 30, 40, 50 exist as shown in
In the case where the plural temperature controllers 30, 40, 50 are connected to the one PLC 20 by means of the PLC communication, however, the user must perform the procedures of: respectively producing the EDS files 31, 41, 51 for the plural temperature controllers 30, 40, 50 while considering the parameters which are to be handled in the PLC communication; storing the EDS files 31, 41, 51 on a recording medium to be read into the PC 10; and registering the parameters of the temperature controllers 30, 40, 50 into the PLC 20 by using a configurator.
Therefore, the user must be familiar with the above-described parameters of temperature controllers, and further there is a problem in that, in the case where a plurality of temperature controllers are used, the work of registering the EDS file is performed for each of the temperature controllers, and hence very cumbersome.
Next, the configuration of the temperature controller 30 will be described with reference to
In the case where the related-art temperature controller 30 is to be connected to the PLC 20, therefore, components dedicated to the temperature controller, i.e., components such as the dedicated connector 32 and the PLC communication circuit 33 are necessary.
In the case where the plural temperature controllers 30, 40, 50 are to be connected to one PLC 20 through the dedicated cable L2, however, the user must register the parameters of the respective temperature controllers 30, 40, 50 into the PLC 20 by using the configurator of the PC, for each of the temperature controllers 30, 40, 50.
Therefore, the registering work must be performed a number of times which is equal to that of the temperature controllers, and hence is cumbersome. The dedicated components are required for each of the temperature controllers, and therefore there arises a problem in that the production cost is increased.
Exemplary embodiments of the present invention provide a temperature controller system in which the setting work is simplified in a temperature controller system in the case where a plurality of temperature controllers are efficiently connected to a PLC.
Further, exemplary embodiments of the present invention provide a temperature controller system in which, when a plurality of temperature controllers are to be connected to a PLC, the connections can be realized by an economical configuration.
The exemplary embodiments of the present invention are configured in the following manners.
a plurality of temperature controllers that adjust a temperature of a control object; and
a programmable logic controller to which the plurality of temperature controllers are connected,
wherein one of the temperature controllers includes
wherein the serial communication portion includes
wherein the PLC communicating portion includes
The invention achieves the following effects. The plural temperature controllers can be handled as one controller, and hence the burden of the configuration work can be reduced. The dedicated cable is connected to only one of the temperature controllers, and the other connections are realized by using an economical RS-485 line. Therefore, the production cost can be reduced.
Furthermore, the exemplary embodiments of the present invention are configured in the following manners.
a plurality of temperature controllers; and
a programmable logic controller to which the plurality of temperature controllers are connected,
wherein one of the temperature controllers which is used as a master includes
The invention achieves the following effects. An EDS file is produced on the basis of the standard set lists read out from the respective temperature controllers. Therefore, the plural temperature controllers can be handled as one controller, and hence the burden of the configuration work can be reduced.
Even when the user is not familiar with parameters of the temperature controllers, the master temperature controller reads out a recommended data group of the slave temperature controllers. Therefore, one EDS file can be sufficiently used, and the handling is facilitated.
Hereinafter, a manner of using a temperature controller system of a first embodiment of the invention will be described with reference to
The temperature controllers B 140, 150 have the RS-485 communicating function, and include a list of data groups which are handled in the PLC communication. The contents of the list are determined on the basis of the type of the temperature controllers B 140, 150 and the method of using them. The list contains also parameters which are frequently read and written during operation, such as a measure value (PV), and a set value (SP).
Next, the configuration and operation of the temperature controller A 130 will be described in detail with reference to
First, the configuration of the option board 200 will be described. A PLC communication terminal 210 is connected to a dedicated cable L3. A PLC communication circuit 220 communicates with the PLC 20 on the high-level side through the PLC communication terminal 210. The PLC communication terminal 210 and the PLC communication circuit 220 constitute a PLC communicating portion 215 which functions as a slave of the PLC communication with respect to the PLC 20.
A communication and conversion CPU 230 controls the PLC communication circuit 220 to perform the PLC communication with the PLC 20 on the high-level side. A data portion 231 is a block into which data are written from the PLC 20 through the PLC communicating portion 215.
A UART (Universal Asynchronous Receiver-Transmitter) 240 is a communication control element which is a master of the RS-485 communication. For example, the communication address is set to “0”.
A UART 250 is a master of the RS-485 communication with respect to the temperature controller B group. For example, communication addresses of “1” to “32” are used.
The UART 250 converts data of peripheral devices (in this case, the temperature controller B group) to those in a format which can be handled by another apparatus (the PLC 20). An RS-485 circuit 260 is a circuit which communicates with the temperature controller B group through an RS-485 cable L4. The UART 250 and the RS-485 circuit 260 constitute a serial (RS-485) communicating portion 255.
The function of the temperature controller A 130 will be described. A temperature controller CPU 270 disposed in the temperature controller block 300 controls a temperature controller circuit 280, and also controls the RS-485 communication through a UART 271. The UART 271 is a slave of the RS-485 communication, and operates under the control of the temperature controller CPU 270. The temperature controller circuit 280 has a function of a usual temperature controller, and is configured, for example, by an A/D converter circuit, a D/A converter circuit, a contact input/output circuit, etc.
Next, the configuration of the temperature controller B 140 will be described. An RS-485 circuit 310 performs the RS-485 communication with respect to the RS-485 circuit 260 through the RS-485 cable L4. A temperature controller CPU 320 controls a temperature controller circuit 330, and also controls the RS-485 communication through a UART 321.
The UART 321 is a slave of the RS-485 communication, and operates under the control of the temperature controller CPU 320. The temperature controller circuit 330 has a function of a usual temperature controller, and is configured, for example, by an A/D converter circuit, a D/A converter circuit, a contact input/output circuit, etc.
Next, the data flow in the temperature controller A 130 will be described with reference to
Hereinafter, the operations will be described specifically. When the power is turned on, the communication and conversion CPU 230 refers to a read command definition table 233 to produce a read command set (step A1).
The RS-485 circuit 260 transmits a read command to the temperature controller B group in accordance with instructions from the communication and conversion CPU 230 (step A2), and also outputs a read command to the temperature controller block 300 through the UART 240.
A response output from the temperature controller B 140 is first received by the RS-485 circuit 260 (step B1). The communication and conversion CPU 230 fetches data from the received response (step B2). The fetched data are stored in a buffer or like storage portion which is incorporated in the RS-485 circuit 260. As a usual operation, these operations are repeated.
In the temperature controller A 130, by contrast, when a write instruction is given from the PLC 20 to the data portion 231, the write instruction is detected in step Cl, a write command is produced in step C2 while referring to a write command definition table 232, and the RS-485 circuit 260 outputs the write command in accordance with instructions from the communication and conversion CPU 230 (step A2).
This operation is passively performed only when a write instruction is issued from the PLC 20 to the data portion 231 as described above.
In step D1, the transmitting and receiving functions of the PLC communication passively operate in accordance with instructions from the PLC 20. Namely, when the read instruction is given from the PLC 20, data which are read out from the temperature controllers A 130, B140 are returned to the PLC 20, and, when the write instruction is given, the contents of the data portion 231 are updated.
As described above, the temperature controller A 130 obtains data from the temperature controller B 140. Therefore, the plural temperature controllers can be handled as one controller, and hence the burden of the configuration work can be reduced. With respect to the wiring, a dedicated cable is connected only to the temperature controller A 130, and the other temperature controllers use only an RS-485 line which is economical, and which performs the serial communication. Therefore, the production cost can be reduced.
Next, a manner of using a temperature controller system of a second embodiment of the invention will be described with reference to
Referring to the figure, a temperature controller A 1130 has a usual temperature adjusting function, and also has the PLC communicating function and a communication protocol converting function. The temperature controller A 1130 is connected to the PLC 20 through the dedicated cable L3 for the PLC communication, and includes a function of the serial multidrop communication (RS-485) to function as a master of communication, so that the temperature controller obtains data from the temperature controllers B 1140, 1150 which are slaves.
Furthermore, the temperature controller A 1130 is characterized in that EDS files corresponding to the temperature controllers B 1140, 1150 are produced for communication.
Also the temperature controllers B 1140, 1150 which function as slaves of the temperature controller A 1130 have a function of the serial multidrop communication (RS-485), and respectively include basic and standard data group lists (including “standard set list” which will be described later) which is used in the PLC communication.
The contents of the data group lists are determined on the basis of the type of the temperature controllers B 1140, 1150 and the method of using them. The lists contain also parameters which are frequently read and written during operation, such as a measure value (PV), and a set value (SP).
The standard set list is a part of the above-described data group list. In the standard set list, various parameters such as specific control and operation parameters which are set in the respective temperature controllers B 1140, 1150 are set in a list form. The standard set list is set by the manufacturer of a temperature controller.
The temperature controller A 1130 reads out the standard set lists which are set in all of the connected temperature controllers B 1140, 1150 through the above-described RS-485 communication cable L4. The temperature controller A 1130 refers to the standard set lists which are read out from the temperature controllers B 1140, 1150 and the set list which is possessed by the controller A 1130 itself, internally configures a memory map which is to be used in the PLC communication, produces only one EDS file 1131 which overall controls the temperature controllers B 1140, 1150, and records the EDS file 1131 in the controller A 1130.
The recorded EDS file 1131 is recorded and stored on a recording medium such as a CD-R by the temperature controller A 1130. The recording medium is caused by the user to be read by the PC 10, and the EDS file 1131 is registered into the PC 10.
By an operation of the user, then, the EDS file 1131 which overall controls the temperature controllers B 1140, 1150 is set into the PLC 20 through the communication line L1 by means of the PLC communication or dedicated communication. Therefore, communication with the temperature controller A 1130 and the temperature controllers B 1140, 1150 can be performed from the PLC 20.
Next, the configuration and operation of the temperature controller A 1130 will be described in detail with reference to
The configuration of the option board 1200 will be described. A PLC communication terminal 1210 is connected to a dedicated cable L3 for the PLC communication. A PLC communication circuit 1220 communicates with the PLC 20 shown in
A communication and conversion CPU 1230 controls the PLC communication circuit 1220 to perform the PLC communication with the PLC 20 shown in
The EDS file 1131 shown in
For example, it is assumed that the word size of the temperature controller A 1130 of
In the EDS file 1131, information of three words of the measure value PV, the set value SP, and the output OUT is stored with respect to the temperature controller A 1130, that of four words of the measure value PV, the set value SP, the output OUT, and an alarm is stored with respect to the temperature controller B 1140, and that of four words of the measure value PV, the set value SP, the output OUT, and auto AUTO is stored with respect to the temperature controller B 1150.
A communication control element UART (Universal Asynchronous Receiver-Transmitter) 1240 is a master of the RS-485 communication (serial multidrop communication). For example, the communication address is set to “0”.
Furthermore, a communication control element UART 1250 is disposed. The UART 1250 is a master of the RS-485 communication. For example, communication addresses of “1” to “32” are used. The UART 1250 converts data of peripheral devices (in this case, the temperature controllers B 1140, 1150 and the like) to those in a format which can be handled by another apparatus (the PLC 20).
A communication circuit (RS-485 circuit) 1260 is a circuit which communicates with the temperature controllers B 1140, 1150 through a communication cable (RS-485 cable) L4, and includes a buffer which temporarily stores the standard set lists that are read out from the temperature controllers B 1140, 1150. The UART 1250 and the RS-485 circuit 1260 constitute an RS-485 communicating portion 1255.
Next, the temperature controller block 1300 will be described. A temperature controller CPU 1270 controls a temperature controller circuit 1280 for controlling the temperature, and also controls the RS-485 communication through a UART 1271. The UART 1271 is a slave of the RS-485 communication, and operates under the control of the temperature controller CPU 1270. The temperature controller circuit 1280 has a function of a usual temperature controller, and is configured, for example, by an A/D converter circuit, a D/A converter circuit, a contact input/output circuit, etc.
Then, the configuration of the temperature controller B 1140 will be exemplarily described. An RS-485 circuit 1310 performs the RS-485 communication with respect to the RS-485 circuit 1260 on the side of the temperature controller A 1130, through the RS-485 cable L4.
A temperature controller CPU 1320 controls a temperature controller circuit 1330, and also controls the RS-485 communication through a UART 1321. The UART 1321 is a slave of the RS-485 communication, and operates under the control of the temperature controller CPU 1320. The temperature controller circuit 1330 has a function of a usual temperature controller, and is configured, for example, by an A/D converter circuit, a D/A converter circuit, a contact input/output circuit, etc.
Next, a method of producing the EDS file 1131 corresponding to the temperature controller B 1140 by the temperature controller A 1130 will be described with reference to
First, the communication and conversion CPU 1230 of the temperature controller A 1130 instructs the RS-485 communicating portion 1255 to output a standard set list read command to the temperature controller B 1140 (step A1).
The temperature controller B 1140 which receives the instruction outputs a response including a previously stored standard set list from the RS-485 circuit 1310 on the basis of instructions of the internal CPU 1320.
The response is received by the RS-485 circuit 1260 of the temperature controller A 1130 through the cable L4 (step B1). The communication and conversion CPU 1230 fetches data from the received response (step B2). The fetched data are temporarily stored in a buffer of the RS-485 circuit 1260 as the standard set list corresponding to the temperature controller B 1140.
From the standard set list stored in the buffer of the RS-485 circuit 1260, using the EDS file producing portion 1232, the communication and conversion CPU 1230 produces the EDS file 1131 which stores the memory map that is used in the PLC communication, as shown in
Also with respect to the temperature controller B 1150, by operations similar to those described above, the standard set list corresponding to the temperature controller B 1150 is read out, and reflected into the EDS file 1131.
The EDS file 1131 which is stored in the EDS file recording portion 1231 as described above may be recorded into an SD card which is not shown, and then transferred to the PC 10. In another method, an LL (Light Loader) communication cable is connected, and the file may be transferred to the PC 10 through the cable.
As described above, the EDS file 1131 is produced on the basis of the standard set lists read out from the respective temperature controllers. Therefore, the plural temperature controllers can be handled as one controller, and hence the burden of the configuration work can be reduced.
Even when the user is not familiar with the parameters of the temperature controllers, the temperature controller A 1130 reads out the recommended data group of the temperature controllers B 1140, 1150, and then produces an EDS file. Therefore, one EDS file can be sufficiently used, and the handling is facilitated.
Although the invention has been described in detail with reference to specific embodiments, it is obvious to those skilled in the art that various changes and modifications are possible without departing the spirit and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2008-157650 | Jun 2008 | JP | national |
2008-157651 | Jun 2008 | JP | national |