Next Patent: Barrier movement operator human interface method and apparatus
Next Patent: Barrier movement operator human interface method and apparatus
[0001] This invention relates to a safety unit, a controller system, a connection method of controllers, a connection method of the controllers, a connection method of the controller system and a monitor method of the controller system.
[0002] A programmable controller (hereinafter called “PLC”) used in FA (Factory Automation) performs control by acquiring ON/OFF information from input devices such as switches and sensors connected to the PLC, executes a logic operation in accordance with a sequence program (user program) written in a ladder language and outputs ON/OFF information to a relay output connected to the PLC or a signal of driving/stop information to output devices such as valves and actuators on the basis of the operation result. Such control of the PLC is executed while a so-called “cyclic processing” is repeated.
[0003] Connection forms between the PLC and the input devices and between the PLC and the output devices are made through connection of terminals of the PLC and terminals of I/O units in some cases and through a network in other cases. To build up a network system connected through such a network, the exchange of the ON/OFF information described above is made through the network. At this time, the information is generally transferred by a master-slave system in which the PLC side is a master and the device side is a slave. This master-slave system is also referred to as a “remote I/O system”, and uses a communication master unit provided to the PLC and a communication slave unit connected to the communication master unit through a network line. A plurality of input devices or a plurality of output devices is connected to the terminals of the communication slave unit. Communication between the master and the slave is made in a predetermined cycle in a serial communication transfer form. In the data transfer, the master raises a data request to the slave. Receiving this request, the slave converts ON/OFF information (I/O information) of each input or output device connected to the slave to a serial signal and returns it. In other words, the master controls communication right of the network and the slave executes the transfer processing to the network in accordance with control of the communication right. Incidentally, communication between the master and the slave may be conducted either synchronously or asynchronously with the cyclic processing of the PLC. The information exchange between a CPU of the PLC and the master may be conducted by either an I/O refresh processing of the PLC or a peripheral processing. Mutual communication can also be made by connecting a plurality of slaves to one master.
[0004] On the other hand, control by the PLC has been assumed in recent years for the application in which safety is highly required such as in robot machines, press machines, cutting machines, and the like, too. In robot control, for example, PLC control has now been introduced gradually into systems called a “safety system” and a “safety net system” lest a robot arm comes into contact with a human body and invites injury due to an abnormal operation or failure of the control system. In such a case, the safety system or the safety net system is constituted by the PLC as an element of the control system, each device or apparatus itself and a network incorporating a safety function. Here, the term “safety function” means the function that confirms safety and outputs. The term “safety system” means the function that doubles CPU and other processing portion, for example, and reliably brings a machine system into a safe condition or compulsively lets the machine system operate stop under a safe condition as a fail-safe operation when each processing portion judges abnormality by detecting inequality between the CPU and each processing portion, or when any abnormality (failure of normal communication) occurs in the network for some reasons or other, or when the operation enters a danger state as an emergency stop switch of the machine system is pushed or when a multi-axis photoelectric sensor detects a danger condition as a person (or a part of the body) enters a light curtain. In other words, the safety system outputs the signal and operates the machine only when the safety function stores safety. Therefore, when safety is not confirmed, the machine stops.
[0005] To build up the safety system or safety network system having the safety function described above, it has been necessary that devices to be connected to the network (PLC, slave, devices connected to the slave, etc) are all those having the safety function. For, when even one device not having the safety function is assembled in the system, the failsafe function does not operate in the control including that device and in the data communication with that device, so that the safety function of the overall system cannot be guaranteed.
[0006] In the control by the PLC, the overall system does not always require the safety function but the safety system must be used when even a part of the system needs guarantee of the safety function. In consequence, those devices that do not have the safety function cannot be included in the system. Then, the safety PLC and the safety devices are used for the portions that do not originally need the safety function. Because the devices having the safety function are more expensive than ordinary devices, the cost of the overall system becomes higher.
[0007] When an attempt is made to later introduce additionally and partially the devices having the safety function and the safety PLC into the environment in which the network system is constituted on the basis of the conventional PLC not having the safety function, or to allow the devices having the safety function to coexist with the conventional existing facilities, the attempt does not prove successful. In other words, the existing portions not having the safety function and the portions having the safety function must be isolated completely and they cannot coexist under the same environment. It is of course possible to discard the existing facilities and to install a fresh a safety network system but a large number of replacement steps will be necessary.
[0008] On the other hand, there is a desire to constitute a safety network for only those portions that require the safety function in view of the explanation given above. However, because the safety system and the non-safety system are to be isolated as described above, the data exchange between both systems becomes difficult. Further, because the network systems of both safety system and non-safety system are arranged independently and in parallel, two kinds of setting/management tools become necessary and must be used appropriately, and the operation becomes complicated.
[0009] In view of the problems described above, the invention aims at accomplishing a controller under the state where a safety system and a non-safety system coexist satisfactorily, and providing a safety unit a controller system, a connection method of controllers, a control method of the control system and a monitor method of the controller system in which those portions that can be handled as a common processing between the safety system and the non-safety system are made in common with each other, while a safety function of the safety system can be guaranteed.
[0010] To accomplish the object described above, a safety unit according to the invention can be connected to a non-safety controller constituted by connecting a plurality of non-safety units including CPU units and executes a safety function processing. The safety unit includes a CPU bus for the connection with the CPU units and a safety dedicated bus for the connection with other safety units.
[0011] As another solution means, the invention provides a safety unit that can be connected to a non-safety controller constituted by connecting a plurality of non-safety units including CPU units, includes a CPU bus for the connection with the CPU units and a processing portion for executing a safety function processing and transmission/reception of data are made with the CPU units through the CPU bus.
[0012] Incidentally, examples of the safety unit include a safety controller, a safety bus master, a safety I/O and a combination of their functions. The safety dedicated bus corresponds to a safety dedicated bus
[0013] The invention can secure reliability of the safety system because the invention installs the safety dedicated bus. In other words, even when the non-safety unit and the safety unit are allowed to coexist by connecting the non-safety units constituting the non-safety system to the safety units, the invention can ensure reliability because at least the data for executing the safety function processing uses the safety dedicated bus.
[0014] The invention can thus constitute the controller in which the non-safety system and the safety system coexist. Consequently, the invention can achieve saving of the space and can manage the safety unit as a high functional unit of the controller (PLC) of the non-safety system.
[0015] The invention prepares suitable units (safety units) for those portions that require the safety function and those portions not requiring it, respectively, connects them together, can achieve appropriate installation at appropriate positions and can restrict an unnecessary rise of the cost. When the controller of the non-safety system has already been installed, the safety units according to the invention are connected to the existing controller and only the system requiring the safety function can be replaced to thereby utilize effectively the existing facilities and recourses. Accordingly, the safety system can be easily added into the environment that has already used the controller (PCL) of the non-safety system.
[0016] Preferably, safety system construction management information memory means for storing safety system construction management information is provided and a master function for managing and collating all the safety units is provided. In the mode for carrying out the invention, the master function can be accomplished by MPU
[0017] Further, a tool interface can be provided, and a function of acquiring information stored in other safety units or in the non-safety units through the CPU bus in accordance with the request from a connected tool may be provided.
[0018] The controller system according to the invention can be constituted by connecting the safety units of each invention described above to the non-safety controller constituted by connecting a plurality of non-safety units including the CPU units. In this case, the CPU unit can preferably read out the data through the CPU bus described above irrespective of the safety units and the non-safety units.
[0019] According to the invention, the CPU bus controlled by the CPU unit is provided to all of the safety units. Therefore, the CPU unit can read out the data through the CPU bus irrespective of the safety units and the non-safety units. On the contrary, the safety units can read the data of the non-safety units through the CPU unit.
[0020] Therefore, when the tool is connected to the CPU unit, constituent information of not only the units of the safety system but also of the units of the non-safety unit can be acquired. Similarly, when the tool is connected to the safety unit, constituent information of not only the units of the safety system but also of the units of the non-safety unit can be acquired.
[0021] Next, a connection method of the non-safety controller and the safety controller according to the invention will be explained. Each of a plurality of safety units constituting the safety controller is connected through the safety dedicated bus so that information can be exchanged among the safety units. In addition, the CPU bus of the non-safety controller is connected to each safety unit of the safety controller. In this instance, the CPU bus is branched to each safety unit (so-called “multi-drop”). In other words, the CPU bus is extended and connected to the safety controller. Transmission and reception of the data and exchange of information can be made between the CPU unit of the non-safety controller and the safety unit through this CPU bus.
[0022] In a control method according to the invention, the non-safety controller and the safety controller are constituted as a controller system and the CPU bus of the non-safety controller is extended and connected to the CPU unit of the safety controller. In this instance, the safety units other than the CPU unit of the safety controller may also be connected. To control the non-safety controller, the non-safety controller inputs I/O information for safety control that is handled by the safety controller through the CPU bus in addition to the exchange of the I/O information to each unit of the non-safety controller through the CPU bus. Furthermore, as the I/O information is exchanged with each safety unit through the safety dedicated bus as safety function control of the safety controller, the controller system is controlled.
[0023] Incidentally, when the non-safety controller inputs the I/O information for safety control, this I/O information may be acquired from an I/O information storage area of a system memory of the CPU unit of the safety controller (corresponding to system RAM
[0024] In a controller system in which a non-safety controller and a safety controller are connected, a monitor method according to the invention involves the steps of connecting a tool to a CPU unit of the non-safety controller, acquiring the information held by the safety controller when the CPU unit of the non-safety controller receives a request from the tool and the CPU unit executes a processing corresponding to the request, and transmitting the information so acquired to an external tool. Needless to say, control information of the non-safety system can be similarly transmitted to the external tool. Thereafter, the tool side receives the transmitted information and displays the information on an accessorial monitor screen or executes logging recording of the transmitted information. In this way, it is possible to monitor the control information and the condition of the controller by use of the common tool to the non-safety system and the safety system.
[0025] The invention includes also a method that sets both non-safety controller and safety controller by use of a common tool. In a controller system which includes a non-safety controller and a safety controller, in which a CPU bus of the non-safety controller is extended and connected to the safety controller, and in which a CPU unit of the non-safety controller has a tool interface, the method of the invention connects a tool to the interface and lets the CPU unit of the non-safety controller execute a processing in accordance with the instruction from the tool to conduct predetermined setting to the safety controller through the CPU bus.
[0026] In the monitor method according to the invention, a tool is connected to a CPU unit of a safety controller, a safety CPU unit executes a processing in accordance with a request from the tool so connected, information held in the non-safety controller is acquired through a CPU bus and the information so acquired is transmitted to an external tool through the tool interface of the safety CPU unit. Incidentally, process steps may be added in which the safety CPU unit executes the processing in accordance with the request from the connected tool and the information held in the safety controller or the safety unit is acquired and is then transmitted to the tool.
[0027] Furthermore, the invention provides a setting method of a controller system in which a tool is connected to a CPU unit of a safety controller, and the CPU unit of the safety controller executes a processing in accordance with the instruction from the tool to conduct predetermined setting to a non-safety controller through a CPU bus. In this instance, since the CPU unit of the safety controller executes the processing, predetermined setting is made to the safety controller or the safety unit through the CPU bus or through a safety dedicated bus.
[0028]
[0029]
[0030]
[0031]
[0032]
[0033]
[0034]
[0035]
[0036]
[0037]
[0038]
[0039]
[0040] To explain the invention in further detail, reference is to be had to the accompanying drawings.
[0041]
[0042] More concretely, the network system includes three non-safety units
[0043] The safety unit
[0044] The CPU bus
[0045] In other words, because the CPU bus
[0046] On the other hand, as to the data associated with safety for which the safety function is to be secured, communication can be made inside a closed world by use of the safety dedicated bus
[0047] Because the tool
[0048] Next, a concrete construction of each unit will be explained. To begin with, the non-safety unit
[0049] To execute such processing, the MPU
[0050] Each unit further includes a tool interface
[0051] Each non-safety unit
[0052] In this mode for carrying out the invention, the non-safety unit
[0053] Incidentally, this non-safety system network system is the network system using the PLC that has generally been used in the past, and is referred to as the “non-safety system”. The content of this system is well known. The system is sometimes existing equipment.
[0054] On the other hand, each safety unit
[0055] One of a plurality of safety units
[0056] As can be clearly understood by comparing
[0057] The safety unit
[0058] Further, a user interface
[0059] Each of the safety unit
[0060] Next, the function of the MPU
[0061] When the result of the construction check proves OK, on the other hand, an operation start instruction is awaited (ST
[0062] The I/O information of the safety system may be used, whenever necessary, when the PLC processing of this non-safety system is executed by the CPU unit
[0063] Next, the function of the MPU
[0064] In the case of the safety system master, the flow proves Yes in Step
[0065] On the other hand, when the bus construction of the safety system is found OK, the operation shifts to the ordinary cyclic control operation. In other words, the refresh processing of the safety dedicated bus
[0066] The data exchange of the safety system will be explained. Transmission/reception of the data is made among the units
[0067] On the other hand, when the unit is not the safety system master (No in Step
[0068] Next, the tool processing, that is, a call (acquisition) processing of the data stored in a different unit, will be explained. First,
[0069] To begin with, the tool
[0070] On the other hand, the MPU
[0071] Receiving the response from the safety unit generating the request, the MPU
[0072] It becomes possible to collect in this way the data held by the safety units of the safety system from the side of the CPU unit
[0073] Next, the processing sequence for reading out the information (construction management information stored in construction management information storage portion
[0074] On the other hand, the MPU
[0075] Receiving the response from the CPU unit
[0076] It is possible to collect in this way the data held by the CPU unit of the non-safety system from the side of the safety unit
[0077] Furthermore, a sequence for reading out the data held by other safety units of the same safety system from the tool connected to the safety unit
[0078] On the other hand, the MPU
[0079] The MPU
[0080] Next, the MPU
[0081] Receiving the response from the CPU unit
[0082] Needless to say, the MPU
[0083] When the construction described above is employed, the safety units
[0084] When bus connection is made by connecting the non-safety units
[0085] Because the CPU bus
[0086] Industrial Applicability
[0087] As described above, according to the invention, the CPU bus and the safety dedicated bus are disposed and only the safety units can gain access to the safety dedicated bus. Therefore, the invention can accomplish a controller in which the safety system and the non-safety system coexist. Transmission and reception of the data between the safety system and the non-safety system can be easily made by use of the CPU bus. When these systems are integrated, the space can be saved.