The present invention relates to a unit-direct-connection type programmable logic controller (hereinafter, referred to as a PLC) system.
A basic block in a conventional unit-direct-connection type PLC system has a configuration in which a power supply unit is arranged at the start end, a CPU unit is connected to the power supply unit, input/output units or units having other functions are connected subsequent to the CPU unit, and an end cover or a branch unit, which is used when the system is extended, is connected at the termination end. When units are not sufficient only by providing the basic block, an extension block is used. An extension block has a configuration in which an extension unit is arranged at the start end, input/output units or units having other functions are connected subsequent to the extension unit, and an end cover or a branch unit, which is used when the system is extended, is connected at the termination end. Voltage monitoring circuits are mounted on the branch unit and the end cover in this PLC system and the units themselves monitor their own voltages (for example, see Patent Literature 1).
With the voltage monitoring circuits included in the branch unit and the end cover, the units themselves monitor the voltages supplied to the units, and the supplied voltage values and the specified value are compared. An LED (Light Emitting Diode) for indicating the voltage level by color in accordance with the comparison result is mounted on each of the branch unit and the end cover. For example, the LED can be illuminated in three colors, i.e., green, orange, and red. Flashing in green indicates that the voltage value is greatly higher than the specified value and the voltage necessary for the system to operate normally is sufficiently supplied. Flashing in orange indicates that the voltage value is slightly higher than the specified value and the voltage necessary for the system to operate normally is barely supplied. Flashing in red indicates that the voltage value is lower than the specified value and the voltage necessary for the system to operate normally is not sufficiently supplied.
With such a configuration, when the end cover present at the termination end of the basic block monitors the voltage of the end cover itself, because all the units including the power supply unit are connected by a bus connector, the voltage supplying state from the power supply unit to the end cover can be checked in accordance with the color of the LED in the voltage monitoring circuit of the end cover.
When the branch unit present at the termination end of the basic block monitors the voltage of the branch unit itself, because all the units are connected by a bus connector, the voltage supplying state from the power supply unit to the branch unit can be checked in accordance with the color of the LED in the voltage monitoring circuit of the branch unit. Alternatively, when the branch unit present at the termination end of the extension block monitors the voltage of the branch unit itself, the voltage supplying state of the block at the preceding stage can be checked in accordance with the color of the LED in the voltage monitoring circuit of the branch unit at the preceding stage. Moreover, because all the units are connected by a bus connector, the voltage supplying state from the extension unit to the branch unit can be checked in accordance with the color of the LED in the voltage monitoring circuit of the branch unit.
Furthermore, when the end cover present at the termination end of the last extension block monitors the voltage of the end cover itself, the voltage supplying state of the block at the preceding stage can be checked in accordance with the color of the LED in the voltage monitoring circuit of the branch unit at the preceding stage. Moreover, because all the units are connected by a bus connector, the voltage supplying state from the extension unit to the end cover can be checked in accordance with the color of the LED in the voltage monitoring circuit of the end cover.
Patent Literature 1: Japanese Patent Application Laid-open No. 2002-108417
When the PLC system is constructed, it is necessary to check whether a sufficient voltage for the system to operate normally is supplied to each unit. This is because the PLC system needs to operate only by a voltage supplied from the power supply unit of the basic block. When a system with no power supply unit in the extension block is constructed, the voltage supply to the extension block tends to become difficult because of the voltage drop through the extension cable. Because of the above reason, when a new PLC system is constructed, whether a sufficient voltage is supplied is calculated in advance. However, there is a problem in that when a used unit is changed or a unit is added, it takes time to perform calculation each time.
Moreover, there is a problem in that if the voltage supply becomes insufficient in each unit, but the cause of the system error is not known to be voltage related, it takes time to solve the system error.
Furthermore, in conventional PLC systems, it is possible to determine whether or not a sufficient voltage is supplied to the basic block and the extension block by displaying the comparison result of the voltage value supplied to the branch unit or the end cover and the specified value with the LED. However, there is a problem in that the user cannot identify which unit is not being supplied with a sufficient voltage and how many units need to be removed or changed.
Moreover, in conventional PLC systems, there is a problem in that it is difficult to determine whether the voltage supply is insufficient because of the voltage drop in the cable that connects the branch unit and the extension unit.
The present invention has been achieved in view of the above and an object of the present invention is to obtain a PLC system capable of determining the voltage supplying state in each unit from which the PLC system is configured in the PLC system in which units are directly connected.
In order to achieve the above object, a PLC system according to an aspect of the present invention is a PLC system that includes a basic block in which a power supply unit, a CPU unit, a first termination end unit arranged at a termination end with respect to the power supply unit, and another unit arranged between the power supply unit and the first termination end unit are connected via a connector, wherein the another unit and the first termination end unit each include a voltage measuring unit that measures a voltage value supplied to a corresponding unit and stores the voltage value, the CPU unit includes a voltage measuring unit that measures a voltage value supplied to the CPU unit and stores the voltage value, and a voltage monitoring control unit that performs a voltage value obtaining process of reading the voltage value stored in the voltage measuring unit of the first termination end unit, the another unit, or the CPU unit and determining whether the voltage value is equal to or higher than a specified value necessary for driving each unit from which the PLC system is configured and that displays a result of the voltage value obtaining process on a display unit in numerical form, and when the voltage monitoring control unit performs the voltage value obtaining process on the first termination end unit, if a voltage value of the first termination end unit is lower than the specified value, the voltage monitoring control unit performs the voltage value obtaining process on a unit in order from the first termination end unit toward the power supply unit side until a unit whose voltage value has become equal to or higher than the specified value is identified.
According to the present invention, the CPU unit, other units, and the end cover each include the voltage monitoring unit that measures the voltage value supplied to the corresponding unit, and the CPU unit includes the voltage monitoring control unit that compares the voltage value measured by the other units or the CPU unit with the specific voltage value necessary for operating the PLC system and displays the result on the display unit. Therefore, an effect is obtained where it is possible to easily determine whether or not the voltage supplied to each unit from which the PLC system is configured is sufficient with respect to the specified value.
Preferred embodiments of a PLC system according to the present invention will be explained below in detail with reference to the accompanying drawings. This invention is not limited to the embodiments.
In the first embodiment, the CPU unit 12 includes a voltage monitoring unit 50 that monitors the voltage supplied to the CPU unit 12 and a voltage monitoring control unit 60 that controls the voltage supplied to each of the units (the CPU unit 12, the target units 13-1 to 13-4, and the end cover 14) from which the PLC system 1 (the basic block 10 in the first embodiment) is configured. The CPU unit 12 can monitor the voltage value of the PLC system 1 by using a display unit 70 attached to the CPU unit 12. The target units 13-1 to 13-4 and the end cover 14 each include the voltage monitoring unit 50 that monitors the voltage supplied to the corresponding unit.
The comparison unit 63 compares the voltage value transmitted from other units or the voltage monitoring unit 50 of the CPU unit 12 with the specified value stored in the specified value storing unit 62 and writes the result in the comparison result storing unit 64. When the voltage value is lower than the specified value, the comparison unit 63 performs a process of reading a voltage value of an adjacent unit that is arranged next (attached) to the unit that is being currently compared on the power supply unit 11 side. The comparison result storing unit 64 stores the result of comparison between the voltage value of a certain unit and the specified value performed by the comparison unit 63.
Next, an explanation will be given of a voltage measuring process and a voltage monitoring control process performed in the PLC system 1 having such a configuration.
First, when the power of the PLC system 1 is turned on (Step S11), the power supply unit 11 supplies a voltage to each unit via a connector, such as a bus connector, that connects the units (Step S12). When a voltage is supplied to each unit, the unit communication unit 51 becomes communicable.
Next, the voltage monitoring circuit unit 52 of the voltage monitoring unit 50 of each unit measures the voltage value supplied to the corresponding unit (Step S13). Thereafter, the voltage value storing unit 53 stores the measured voltage value of the corresponding unit (Step S14). With the above procedure, the voltage measuring process in each unit ends.
Next, the CPU unit 12 of the basic block 10 performs a voltage value obtaining process of obtaining, by using the bus that connects the units, the position of a unit whose supplied voltage has become lower than the specified value (Step S33).
Next, the comparison unit 63 of the voltage monitoring control unit 60 compares the read voltage value of the end cover 14 with the specified value that is stored in the specified value storing unit 62 and that is a specific voltage value necessary for operating the PLC system 1 (Step S52). Specifically, the comparison unit 63 determines whether the read voltage value is equal to or higher than the specified value.
When the voltage value is lower than the specified value (No at Step S52), the comparison unit 63 stores the comparison result in the comparison result storing unit 64 (Step S53). For example, the compared voltage value is stored in association with the end cover 14.
Thereafter, the comparison unit 63 selects one unit arranged adjacent to the end cover 14 on the power supply unit 11 side (Step S54) and reads the voltage value of the selected unit via the CPU-unit communication unit 61 (Step S55).
Next, the comparison unit 63 compares the read voltage value of the unit with the specified value stored in the specified value storing unit 62 and determines whether the read voltage value is equal to or higher than the specified value (Step S56).
When the voltage value is equal to or higher than the specified value (Yes at Step S56) or when the voltage value of the end cover 14 is equal to or higher than the specified value at Step S52 (Yes at Step S52), the voltage value obtaining process ends.
When the voltage value is lower than the specified value at Step S56 (No at Step S56), the process returns to Step S53. Then, the process of Steps S53 to S56 is repeated until the unit whose read voltage value has become equal to or higher than the specified value is obtained.
Here the description refers back to
When the result displaying process is performed, there are two cases that the content stored in the comparison result storing unit 64 is considered to be, i.e., (1) a case where the voltage value of the end cover 14 is equal to or higher than the specified value and (2) a case where the voltage value of the end cover 14 is lower than the specified value.
(1) A case where the voltage value of the end cover 14 is equal to or higher than the specified value
In this case, the comparison result storing unit 64 stores only the voltage value of the end cover 14. Therefore, the display unit 70 performs a process of displaying an indication that the voltage value of the end cover 14 is equal to or higher than the specified value.
(2) A case where the voltage value of the end cover 14 is lower than the specified value
In this case, the comparison result storing unit 64 stores the voltage values from the end cover 14 to the unit whose voltage value has becomes equal to or higher than the specified value (the target units 13-1 to 13-4 or the CPU unit 12). Therefore, the display unit 70 performs a process of displaying an indication that the unit whose voltage value has becomes equal to or higher than the specified value has a voltage value equal to or higher than the specified value and an indication that the voltage values from the end cover 14 to a unit adjacent the unit on the end cover 14 side are lower than the specified value.
The displaying in the cases (1) and (2) can be performed, for example, by a method of drawing a schematic configuration diagram of the PLC system 1 as illustrated in
In the first embodiment, the CPU unit 12, the target units 13-1 to 13-4, and the end cover 14 of the basic block 10 of the PLC system 1 each include the voltage monitoring unit 50 that measures the voltage value supplied to the corresponding unit. Moreover, the CPU unit 12 performs the voltage value obtaining process of comparing the voltage value measured by the end cover 14 with the specific voltage value necessary for operating the PLC system 1 and, if the measured voltage value is lower than the specific voltage value, comparing the specified value with the voltage value measured in an adjacent unit on the power supply unit 11 side until a unit whose measured voltage value has become equal to or higher than the specified value appears, stores the comparison result, and displays the comparison result on the display unit 70. Consequently, an effect is obtained where the voltage supplied to the unit itself can be monitored and the user can easily identify the unit that is supplied with a sufficient voltage and the unit that is not supplied with a voltage.
For example, when the CPU unit 12 reads the voltage value of the end cover 14, if a numerical value equal to or higher than the specified value is written in the voltage value storing unit 53 of the voltage monitoring unit 50, it is possible to determine that a sufficient voltage is supplied along the route up to the end cover 14. Moreover, when the CPU unit 12 reads the voltage value of the end cover 14, if a numerical value equal to or lower than the specified value is written in the voltage value storing unit 53 of the voltage monitoring unit 50, the voltage value of each unit is read in order starting from the unit next to the end cover 14. When the voltage value of a unit is equal to or higher than the specified value in the comparison unit 63 of the voltage monitoring control unit 60 of the CPU unit 12, it is possible to determine that a sufficient voltage is supplied up to that unit from the power supply unit 11.
Moreover, when a used unit is changed or a unit is added, it is possible to determine whether or not the voltage value supplied to each unit is equal to or higher than the specified value; therefore, it is possible to identify whether the system is operating normally without calculating the voltage each time. Furthermore, the voltage supplying state is not indicated by the color of an LED but the voltage value and the specified value are displayed for each unit in numerical form; therefore, it is possible to determine whether a voltage is insufficient in each unit and thus the user can easily determine how many units need to be removed or how many units need to be changed. Furthermore, the voltage monitoring unit 50 is mounted not only on the end cover 14 but also on each unit and thus it is possible to determine whether the voltage value supplied to each unit is equal to or higher than the specified value. Accordingly, it is possible to determine which unit is not being supplied with a sufficient voltage. Consequently, an effect is obtained where the number of man-hours for system construction and maintenance is reduced.
Furthermore, if the voltage supply becomes insufficient in each unit, it is possible to determine whether or not the voltage value supplied to each unit is equal to or higher than the specified value; therefore, for example, when a system error occurs, the user can quickly determine whether the cause is the voltage supply. Consequently, an effect is obtained where the time required for solving the cause of the system error can be reduced.
The first embodiment describes a case where the PLC system is configured from only a basic block. The second embodiment describes a case where the PLC system is configured from a basic block and an extension block.
The basic block 10 includes the power supply unit 11, the CPU unit 12, the target units 13-1 to 13-3, the end cover 14, and a branch unit 15. The branch unit 15 is provided when a block other than the basic block 10 is additionally provided and is provided at a given position between the CPU unit 12 and the end cover 14. The branch unit 15 includes the voltage monitoring unit 50 explained in the first embodiment.
The extension block 20 functions as the connecting component for the voltage to be supplied from the power supply unit 11 to the extension block 20 and includes an extension unit 21, which is the start end, target units 22-1 to 22-4, and an end cover 23, which is the termination end. The extension unit 21 includes the voltage monitoring unit 50 explained in the first embodiment.
The branch unit 15 of the basic block 10 and the extension unit 21 of the extension block 20 are connected by the extension cable 30. With the extension cable 30, the voltage supply from the power supply unit 11 of the basic block 10 and communication can be performed. An explanation of the components that are the same as those in the first embodiment is omitted.
Next, an explanation will be given of the voltage monitoring control process performed in the PLC system 1 having such a configuration.
Next, the comparison unit 63 of the voltage monitoring control unit 60 performs the voltage value obtaining process of obtaining, by using the bus that connects the units, the position of a unit whose supplied voltage has become lower than the specified value in the basic block 10 (Step S73). This voltage value obtaining process corresponds to the process illustrated in
Thereafter, when the voltage value read at Step S52 or Step S56 in the voltage value obtaining process is equal to or higher than the specified value, the comparison unit 63 stores the voltage value in the comparison result storing unit 64 in association with the unit or the end cover 14 (Step S74).
Next, the comparison unit 63 determines whether the extension block 20 is connected to the basic block 10 (Step S75). When the extension block 20 is not connected to the basic block 10 (No at Step S75), this is the same as the case of the first embodiment. The comparison unit 63 performs, via the CPU-unit communication unit 61, the result displaying process of displaying the result stored in the comparison result storing unit 64 on the display unit 70 (Step S78).
In contrast, when the extension block 20 is connected to the basic block 10 (Yes at Step S75), the comparison unit 63 performs the voltage value obtaining process of obtaining, by using the bus that connects the units and the extension cable 30 that connects the blocks, the position of a unit whose supplied voltage has become lower than the specified value in the extension block 20 (Step S76). This voltage value obtaining process corresponds to the process illustrated in
Thereafter, when the voltage value read at Step S52 or Step S56 in the voltage value obtaining process in the extension block 20 is equal to or higher than the specified value, the comparison unit 63 stores the voltage value in the comparison result storing unit 64 in association with the unit or the end cover 14 (Step S77). Next, the comparison unit 63 performs, via the CPU-unit communication unit 61, the result displaying process of displaying the result stored in the comparison result storing unit 64 on the display unit 70 (Step S78). The result can be displayed by a method similar to the method in the first embodiment. With the above procedure, the voltage monitoring control process ends.
In the second embodiment, in the PLC system 1 in which the extension block 20 is additionally provided to the basic block 10 via the extension cable 30, each unit includes the voltage monitoring unit 50 and the CPU unit 12 obtains the voltage values measured by the voltage monitoring units 50. Accordingly, in a similar manner to the first embodiment, an effect is obtained where the user can visually identify the unit that is supplied with a sufficient voltage and the unit that is not supplied with a voltage. Particularly, it is possible to determine whether the voltage supply is insufficient because of the voltage drop in the cable that connects the branch unit 15 and the extension unit 21.
The voltage monitoring unit 50 is mounted not only on the branch unit 15 and the end cover 14 but also on each unit and thus it is possible to determine whether the voltage value supplied to each unit is equal to or higher than the specified value. Accordingly, the user can easily identify which unit is not being supplied with a sufficient voltage. Consequently, the number of man-hours for system construction and maintenance can be reduced.
In the above first and second embodiments, when the PLC system 1 is run, each unit measures a voltage value, the voltage monitoring control unit 60 of the CPU unit 12 reads the result, and the result is displayed; however, it is not limited thereto. Measurement of the voltage value of each unit and displaying of the result can be performed at any given point in time.
In the above embodiments, the display unit 70 is attached to the CPU unit 12; however, it is not limited thereto.
In the above explanation, the comparison result storing unit 64 stores the voltage values of each block as a comparison result and the voltage values of each block can be displayed on the display unit (the display unit 70 in the case of
As described above, the PLC system according to the present invention is useful for a unit-direct-connection type PLC system.
1 PLC system, 10 basic block, 11 power supply unit, 12 CPU unit, 13-1 to 13-4, 22-1 to 22-4 target unit, 14, 23 end cover, 15 branch unit, 20 extension block, 21 extension unit, 30 extension cable, 40 display device, 41 cable, 50 voltage monitoring unit, 51 unit communication unit, 52 voltage monitoring circuit unit, 53 voltage value storing unit, 60 voltage monitoring control unit, 61 CPU-unit communication unit, 62 specified value storing unit, 63 comparison unit, 64 comparison result storing unit, 70 display unit, 121 display monitor.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2013/059606 | 3/29/2013 | WO | 00 |