(19)
(11) EP 3 819 677 A1

(12) EUROPEAN PATENT APPLICATION
published in accordance with Art. 153(4) EPC

(43) Date of publication:
12.05.2021 Bulletin 2021/19

(21) Application number: 19831143.3

(22) Date of filing: 04.07.2019
(51) International Patent Classification (IPC): 
G01V 8/20(2006.01)
H01H 35/00(2006.01)
G01J 1/42(2006.01)
(86) International application number:
PCT/JP2019/026692
(87) International publication number:
WO 2020/009195 (09.01.2020 Gazette 2020/02)
(84) Designated Contracting States:
AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR
Designated Extension States:
BA ME
Designated Validation States:
KH MA MD TN

(30) Priority: 04.07.2018 JP 2018127744

(71) Applicant: OMRON Corporation
Shiokoji-dori, Shimogyo-ku, Kyoto-shi Kyoto 600-8530 (JP)

(72) Inventors:
  • HASHIMOTO, Minoru
    Kyoto-shi, Kyoto 600-8530 (JP)
  • KIKUCHI, Keisaku
    Kyoto-shi, Kyoto 600-8530 (JP)
  • YAMAJI, Takamasa
    Kyoto-shi, Kyoto 600-8530 (JP)
  • YAMADA, Yuya
    Kyoto-shi, Kyoto 600-8530 (JP)

(74) Representative: HGF 
1 City Walk
Leeds LS11 9DX
Leeds LS11 9DX (GB)

   


(54) DATA PROCESSING DEVICE FOR MULTIPLE OPTICAL AXIS PHOTOELECTRIC SENSOR


(57) A data processing device 3 is capable of being connected to a multiple optical axis photoelectric sensor S for detecting a shielded state for each of a plurality of optical axes to output a signal indicating presence or absence of an object based on a result of detecting the shielded state, and is capable of reading and writing data including setting data for setting definitions of detecting operations at the sensor S. The device 3 includes a communication section 38 capable of communicating with the sensor S; a storing section 37 capable of storing the setting data and product information of the sensor S; a setting section 31 for setting operating conditions of the device 3; and a control section 36 for controlling an operation of the device 3, in which the control section 36 reads the setting data from the sensor S through the communication section 38 to store the setting data read from the sensor S in the storing section 37, or writes the setting data, which is stored in the storing section 37, in the sensor S through the communication section 38, according to a state of connection with the sensor S, a use history of the device 3, the operating conditions set by the setting section 31, and the product information.




Description

TECHNICAL FIELD



[0001] The present disclosure relates to a data processing device for a multiple optical axis photoelectric sensor.

BACKGROUND



[0002] In general, a multiple optical axis photoelectric sensor has a light projecting section in which a plurality of light projecting elements are arranged in a raw and a light receiving section in which the same number of light receiving elements as that of the light projection elements are arranged in a raw so that each of the light projecting elements and each of light receiving elements faces each other on one-to-one basic. The light projecting section is connected to the light receiving section through a communication line. When light is sequentially emitted from each of the light projecting elements in the light projecting section, a certain amount of light, which is received by each of the light receiving elements corresponding to each of the light projecting elements in the light receiving section at a timing synchronized with the light emitting operation in each of the light projecting elements, is extracted in the light projecting section. Thus, the o is detected sequentially. Furthermore, in the light receiving section, on the basis of the detecting result of the shielded state for each optical axis, it is determined whether or not there is an object in an detecting area, so that the light receiving section outputs a signal indicating the detecting result (hereinafter referred to "an object detecting signal").

[0003] This kind of sensor is usually set so that the object detecting signal is turned on when the shielded state is detected in any one of optical axes. However, depending on the place of installation of the sensor or the purpose of the use of the sensor, there are cases where various conditions have to be set for the contents of detecting operations, such as invalidating the detecting result in a certain optical axis, turning on the object detecting signal only when optical axes of a prescribed number or more are shielded, etc.

[0004] For example, the following Patent Literature 1 discloses the technology in which various conditions are set by a console connected to a sensor.

CITATION LIST


PATENT LITERATURE



[0005] Patent Literature 1: Japanese Unexamined Patent Application Publication No. 2002-296361.

SUMMARY OF THE INVENTION


TECHNICAL PROBLEM



[0006] However, in the Patent Literature 1, if it is necessary to copy the setting of the various conditions in a certain sensor needs to another sensor, a user has to connect a console connecting to the other sensor to a personal computer to perform the same setting as that of the various conditions in the certain sensor with respect to the console connected to the other sensor.

[0007] In the Patent Literature 1, since it is necessary to connect a personal computer to a console directly in order to change the setting, a user has to bring the personal computer to a production site when copying the setting of the various conditions in a certain sensor to another sensor. Therefore, the user's operation is complicated. Furthermore, in some cases, it is impossible for everyone to perform the copy of the setting since a user having use authority for the personal computer is limited. Moreover, if different settings are needed for a plurality of sensors respectively, a user has to perform the different settings. Therefore, it is complicated.

[0008] The objects of the present invention is to provide a data processing device for a multiple optical axis photoelectric sensor in which anyone can easily perform the backuping of the setting data for the multiple optical axis photoelectric sensor and the restoring of the setting data.

SOLUTION TO PROBLEM



[0009] To solve the above-described problem, a data processing device that is capable of being connected to a multiple optical axis photoelectric sensor for detecting a shielded state for each of a plurality of optical axes to output a signal indicating presence or absence of an object on the basis of a result of detecting the shielded state, and is capable of reading and writing data including setting data for setting definitions of detecting operations at the multiple optical axis photoelectric sensor, in which the data processing device for the multiple optical axis photoelectric sensor includes: a communication section that is capable of communicating with the multiple optical axis photoelectric sensor; a storing section that is capable of storing the setting data and product information of the multiple optical axis photoelectric sensor; a setting section for setting operating conditions of the data processing device; and a control section for controlling an operation of the data processing device, in which the control section reads the setting data from the multiple optical axis photoelectric sensor through the communication section to store the setting data read from the multiple optical axis photoelectric sensor in the storing section, or writes the setting data, which is stored in the storing section, in the multiple optical axis photoelectric sensor through the communication section, according to a state of connection with the multiple optical axis photoelectric sensor, a use history of the data processing device, the operating conditions set by the setting section, and the product information.

[0010] The data processing device for the multiple optical axis photoelectric sensor reads the setting data from the multiple optical axis photoelectric sensor through the communication section to store the setting data read from the multiple optical axis photoelectric sensor in the storing section, according to a state of connection with the multiple optical axis photoelectric sensor, a use history of the data processing device, the operating conditions set by the setting section, and the product information. Furthermore, the data processing device for the multiple optical axis photoelectric sensor writes the setting data stored in the storing section in the multiple optical axis photoelectric sensor through the communication section, according to a state of connection with the multiple optical axis photoelectric sensor, a use history of the data processing device, the operating conditions set by the setting section, and the product information.

[0011] According to the data processing device for the multiple optical axis photoelectric sensor, it performs the buckuping process or the restoring process of the setting data in multiple optical axis photoelectric sensor according to the determination of each condition just by connecting the data processing device to the multiple optical axis photoelectric sensor. Therefore, for example, if the multiple optical axis photoelectric sensor is exchanged, it is possible to implement the resetting of the multiple optical axis photoelectric sensor just by connecting the data processing device to the multiple optical axis photoelectric sensor.

[0012] In one aspect of the data processing device for the multiple optical axis photoelectric sensor, the control section performs reading or writing of the setting data if the control section determines that the data processing device is in a state of connecting to the multiple optical axis photoelectric sensor.

[0013] According to the one aspect of the data processing device for the multiple optical axis photoelectric sensor, the data processing device performs the reading or writing of the setting data if it determines that the data processing device is in a state of connecting to the multiple optical axis photoelectric sensor. Therefore, it is possible to easily performs the resetting of the multiple optical axis photoelectric sensor just by connecting to the data processing device to the multiple optical axis photoelectric sensor.

[0014] In another aspect of the data processing device for the multiple optical axis photoelectric sensor, the control section forcibly performs the reading of the setting data if the control section determines that the data processing device does not have a use history of the data processing device.

[0015] According to the other aspect of the data processing device for the multiple optical axis photoelectric sensor, the reading of the setting data is performed forcibly if the control section determines that the data processing device has no use history at a state of the factory shipment. Thus, it is possible to easily perform the buckuping process for the multiple optical axis photoelectric sensor just by connecting the data processing device to the multiple optical axis photoelectric sensor.

[0016] In other aspect of the data processing device for the multiple optical axis photoelectric sensor, the control section performs the reading of the setting data if the control section determines that thee data processing device has a use history of the data processing device, and if the reading of the setting data is set to be enabled by the setting section.

[0017] According to the other aspect of the data processing device for the multiple optical axis photoelectric sensor, the setting section can set whether or not the reading of the setting data is enabled. If the data processing device has a use history of the data processing device, it indicates that any one of the forcible reading of the setting data or the intentional reading of the setting data has been performed at least once so far. Therefore, in this case, the setting data of the multiple optical axis photoelectric sensor is stored in the storing section. However, if a user sets that the reading of the setting data is enabled using the setting section, the control section prioritizes the user's intention, so that it easily performs the backuping process just before connecting the data processing device to the multiple optical axis photoelectric sensor.

[0018] In the other aspect of data processing device for the multiple optical axis photoelectric sensor, the data processing device further includes a confirming switch. The control section performs the reading of the setting data after the control section confirms that the confirming switch is pressed by a user.

[0019] According to the other aspect of data processing device for the multiple optical axis photoelectric sensor, since the reading of the setting data is performed after the pressing of the confirming switch is confirmed, it is possible to prevent a user's undesired overwriting of the setting data in the data processing device from being implemented.

[0020] In the other aspect of data processing device for the multiple optical axis photoelectric sensor, the control section performs the writing of the setting data if the control section determines that the data processing device has a use history of the data processing device, and if the reading of the setting data is set to be disabled by the setting section, and if product information of the multiple optical axis photoelectric sensor does not coincide with that stored in the storing section.

[0021] According to the other aspect of data processing device for the multiple optical axis photoelectric sensor, the setting section can set whether or not the reading of the setting data is disabled. If the data processing device has a use history of the data processing device, the setting data is stored in the storing section. Therefore, if a user exchanges the multiple optical axis photoelectric sensor and sets that the reading of the setting data is disabled using the setting section, it easily performs the restoring process just before connecting the data processing device to the exchanged multiple optical axis photoelectric sensor.

[0022] In the other aspect of data processing device for the multiple optical axis photoelectric sensor, the data processing device further includes a confirming switch. The control section performs the writing of the setting data after the control section confirms that the confirming switch is pressed by a user.

[0023] According to the other aspect of data processing device for the multiple optical axis photoelectric sensor, since the writing of the setting data is performed after the pressing of the confirming switch is confirmed, it is possible to a user's undesired overwriting in the multiple optical axis photoelectric sensor from being implemented.

[0024] In the other aspect of data processing device for the multiple optical axis photoelectric sensor, the control section makes the multiple optical axis photoelectric sensor operate using the setting data after the writing of the setting data is performed, by restarting the multiple optical axis photoelectric sensor after performing the writing of the setting data.

[0025] According to the other aspect of data processing device for the multiple optical axis photoelectric sensor, after performing the writing of the setting data, the control section automatically restarts the multiple optical axis photoelectric sensor, and makes the multiple optical axis photoelectric sensor operate using the setting data after the writing of the setting data is performed. It is possible to enhance convenience.

[0026] In the other aspect of data processing device for the multiple optical axis photoelectric sensor, a plurality of multiple optical axis photoelectric sensors are provided. The storing section is capable of storing each product information for each of the plurality of multiple optical axis photoelectric sensors. The control section performs the reading of the setting data from each of the plurality of multiple optical axis photoelectric sensors, or performs the writing of the setting data in each of the plurality of multiple optical axis photoelectric sensors.

[0027] According to the other aspect of data processing device for the multiple optical axis photoelectric sensor, the data processing device can be connected to a plurality of multiple optical axis photoelectric sensors arranged in different places respectively. The storing section can store each product information for each of the plurality of multiple optical axis photoelectric sensors. The reading of and the writing of the setting data are performed with respect to each of the plurality of multiple optical axis photoelectric sensors. Therefore, it is possible to easily perform the backuping process and the restoring process in each of the plurality of multiple optical axis photoelectric sensors just by connecting one data processing device to the plurality of multiple optical axis photoelectric sensors.

[0028] In the other aspect of data processing device for the multiple optical axis photoelectric sensor, the multiple optical axis photoelectric sensor includes a light projecting section and a light receiving section. The storing section is capable of storing each product information for each of the light projecting section and the light receiving section. The control section performs the reading of the setting data from each of the light projecting section and the light receiving section, or performs the writing of the setting data in each of the light projecting section and the light receiving section.

[0029] According to the other aspect of data processing device for the multiple optical axis photoelectric sensor, the storing section can store each product information for each of the light projecting section and the light receiving section. The control section performs the reading and the writing of the setting data with respect to each of the light projecting section and the light receiving section. Therefore, if any of the light projecting section and the light receiving section is exchanged, it is possible to easily perform the backuping process and the restoring process of the multiple optical axis photoelectric sensor just by connecting the data processing device to the multiple optical axis photoelectric sensor.

[0030] In the other aspect of data processing device for the multiple optical axis photoelectric sensor, the data processing device is capable of being connected to a plurality of light projecting sections and a plurality of light receiving sections. The storing section is capable of storing each product information for each of the plurality of light projecting sections and each of the plurality of light receiving sections. The control section performs the reading of the setting data from each of the plurality of light projecting sections and each of the plurality of light receiving sections, or performs the writing of the setting data in each of the plurality of light projecting sections and each of the plurality of light receiving sections.

[0031] According to the other aspect of data processing device for the multiple optical axis photoelectric sensor, if a plurality of light projecting sections and a plurality of light receiving sections are connected to the data processing device, the storing section can store each product information for each of the plurality of light projecting sections and each of the plurality of light receiving sections. The reading and writing of the setting are performed with respect to each of the plurality of light projecting sections and each of the plurality of light receiving sections. Therefore, if any of the plurality of light projecting sections and the plurality of light receiving sections is exchanged, it is possible to easily perform the backuping process and the restoring process of the multiple optical axis photoelectric sensor just by connecting the data processing device to the multiple optical axis photoelectric sensor.

[0032] In the other aspect of data processing device for the multiple optical axis photoelectric sensor, the data processing device further includes a generic communication section that is capable of communicating with other devices. The control section can transmit data stored in the storing section to the other device through the generic communication section.

[0033] According to the other aspect of data processing device for the multiple optical axis photoelectric sensor, the other device can be connected to the data processing device. The data such as the setting data stored in the storing section can be transmitted to the other device through the generic communication section. Thus, it is possible to improve efficiency in trouble-shooting and information collection for a safety system.

[0034] In the other aspect of data processing device for the multiple optical axis photoelectric sensor, the data processing device is capable of being driven only by a bus power in a personal computer.

[0035] According to the other aspect of data processing device for the multiple optical axis photoelectric sensor, if the data processing device is connected to a USB terminal of a personal computer, etc., the data processing device can be driven only by a bus power in the personal computer. Thus, it is possible to enhance convenience.

ADVANTAGEOUS EFFECTS OF INVENTION



[0036] As described above clearly, according to the data processing device for the multiple optical axis photoelectric sensor, it is possible for anyone to easily perform the backuping process and the restoring process of the multiple optical axis photoelectric sensor.

BRIEF DESCRIPTION OF DRAWINGS



[0037] 

Fig. 1 is a schematic diagram for a data processing device for a multiple optical axis photoelectric sensor according to the first embodiment;

Fig. 2 is a diagram showing the appearance of the data processing device;

Fig. 3 is a diagram for explaining the function of a DIP switch;

Fig. 4 is a diagram for explaining the whole processing in the data processing device;

Fig. 5 is a flowchart for a backuping process in the data processing device; and

Fig. 6 is a flowchart for a restoring processing in the data processing device.


DETAILED DESCRIPTION OF PREFERRED EMBODIMENT



[0038] In the following, embodiments will be described in detail with reference to the drawings as appropriate.

(First Embodiment)



[0039] Fig. 1 is a schematic diagram for a data processing device for a multiple optical axis photoelectric sensor according to the first embodiment. As shown in Fig. 1, the multiple optical axis photoelectric sensor S has a light projecting section 1 in which a plurality of light projecting elements 11 are arranged and a light receiving section 2 in which the same number of light receiving elements 21 as that of the light projection elements 11 are arranged so that each projection surface of the light projecting elements and each light receiving surface of light receiving elements faces each other. The light projecting section 1 includes a driving circuit 12 that drives each of light projecting elements 11 individually, an optical axis sequential selecting circuit 13, a control circuit 16, a communication circuit 17, a power supply circuit 18, etc., in addition to the light projecting elements 11. The light receiving section 2 includes an amplifier 22 and an analog 23 for each of the light receiving elements 21, an optical axis sequential selecting circuit 25, a control circuit 26, an inputting amplifier 24 to the control circuit 26, a communication circuit 27, a power supply circuit 28, etc., in addition to the light receiving elements 21.

[0040] Each of the control circuits 16, 26 in the light projecting section 1 and the light receiving section 2 is comprised of a micro computer including a CPU and a memory, for example. Each of the communication circuits 17, 27 is a communication interface conforming to RS485, so that it controls the exchanging of signals between the light projecting section 1 and the light receiving section 2 through two communication lines 6A, 6B corresponding to RS485.

[0041] Each of the power supply circuits 18, 28 receives the power supply from a common external power source 5 (DC power supply), so that it supplies the power supply to each section in the device (in the light projecting section 1 and the light receiving section 2). The power supply lines are branched to two power supply lines 7A, 7B. One is connected to the power supply circuit 18 in the light projecting section 1, while another is connected to the power supply circuit 28 in the light projecting section 2. Then, the power supply from the external power source 5 to each of the power supply circuits 18, 28 is executed through the power supply lines 7A, 7B. Therefore, the light projecting section 1 is in the state of connecting to the light receiving section 2 with the communication lines 6A, 6B and the power supply lines 7A, 7B.

[0042] The control circuit 16 in the light projecting section 1 generates timing signals every prescribed time to provide them to the optical axis sequential selecting circuit 13. The optical axis sequential selecting circuit 13 is a gate circuit for connecting each drive circuit 12 of each of the light projecting elements 11 to the control circuit 16 sequentially. By the switching process in this circuit, the timing signal from the control circuit 16 is sequentially provided to each drive circuit 12, so that a sequential light emitting operation in each of the light projecting elements 11 is implemented. Furthermore, the timing signal is also provided to the control circuit 26 in the light receiving section 2 through the communication circuits 17, 27.

[0043] In the light receiving section, the output from each of the light receiving elements 21 (hereinafter referred to "light receiving output") is transmitted to an input line 29 to the control circuit 26 through the amplifier 22 and the analog switch 23. The control circuit 26 transmits the timing signal from the light projecting section 1 to the optical axis sequential selecting circuit 25 to turn on each analog switch 23 in each optical axis sequentially. Then, the control circuit 26 receives the light receiving output from the light receiving element 21 corresponding to the light projecting element which emits light, so that it compares each light receiving output with a predetermined threshold value to determine whether or not each optical axis is in a shielded stated. When the receiving of the light receiving output is finished for all optical axes, the control circuit 26 performs a final determining process by collecting the determining result for each optical axis to produce an object detecting signal. Then the control circuit 26 outputs the object detecting signal to an external through an output circuit which is not described in drawings.

[0044] In the first embodiment, by a branch connector 4, the communication lines 6A, 6B and the power supply lines 7A, 7B are branched to an external, a data processing device 3 as a data processing device of the multiple optical axis photoelectric sensor S can be connected between the light projecting section 1 and the light receiving section 2.

[0045] The data processing device 3 can set the definition of various detecting operations, such as a fixed blanking function, a floating blanking, etc., by putting the multiple optical axis photoelectric sensor S before it operates to a setting mode. Furthermore, the data processing device 3 can backup setting data in the multiple optical axis photoelectric sensor S, and can restore the setting data for a changed multiple optical axis photoelectric sensor S.

[0046] Fig. 2 is a diagram showing the appearance of the data processing device 3. In the front face of the housing of the data processing device 3, a DIP switch 31 as a setting section, a push switch 32 as a confirming switch, an LED 33, and a USB terminal 34 which can be connected to an external computer are provided. The LED 33 includes an IN-LED 33A, an OUT-LED 33B, and an ERR-LED 33C. The function of these LEDs will be described later.

[0047] In the side face of the housing, a connecting terminal 35A for connecting to the light projecting section 1, a connecting terminal 35B for connecting to the light receiving section 2, a connecting terminal 35C for connecting to IO-LINK (registered trademark), and a power supply terminal 35D are provided.

[0048] As shown in Fig. 1, inside the housing of the data processing device 3, a memory 37 as a storing section, a communication section 38, a USB interface 39, a power supply section 40, a display section 41, an input section 42, and a generic communication transceiver 43 as a generic communication section are included in addition to a control section 36 comprised of a micro computer.

[0049] The communication section 38 is an interface conforming to RS485 standard as well as the communication circuits in the light projection section 1 and the light receiving section 2. The communication section 38 is connected to the communication lines 6A, 6B branched by the branch connector 4. The power supply section 40 is connected to the power supply lines 7A, 7B branched by the branch connector 7 to supply power to each section in the data processing device 3 by receiving power from the external power supply 5.

[0050] The USB interface 39 enables to communicate between the control section 36 and an personal computer when the personal computer is connected to the USB terminal 34. The communicating function using Bluetooth (registered trademark) may be provided for the communication with the personal computer. The data processing device 3 can be driven only by the bus power in a personal computer.

[0051] The display section 41 is an interface for displaying, so that it performs the control for turning on the LED 33. Input section 42 is an input interface that accepts the input by the DIP switch 31 and the push switch 32 to transmit the contents of the input to the control section 36.

[0052] The generic communication transceiver 43 has the function of converting a communication protocol to disclose the information of the multiple optical axis photoelectric sensor S to a generic system by IO-LINK. Thus, it is possible to improve efficiency in trouble-shooting and information collection for a safety system.

[0053] The control section 36 is comprised of a CPU. The memory 37 is comprised of a flash ROM, for example, in which a program and setting data described later, etc., are stored. The control section 36 reads in the input of the DIP switch 31 and the push switch 32 through the input section 42 to set the definition of various detecting operations to the sensor S by the communication between the light projecting section 1 and the light receiving section 2. The control section 36 backups the current setting data in the sensor S, and restores the setting data to a changed new sensor S.

[0054] According to the above-mentioned configuration, by incorporating interfaces conforming to RS485 standard in the communication circuits 17, 27 in the light projection section 1 and the light receiving section 2, and the communication section 38 in the data processing device 3, a bidirectional communication is performed individually between various sections. Therefore, in the data processing device 3, it is possible to perform the setting process individually with respect to any of the light projection section 1 and the light receiving section 2. Although most of definitions relating to an object detecting are set in the control circuit 26 in the light receiving section 2, the definition of a process, in which an actual result of the detecting process needs to be registered, such as a fix blanking, is set in the light receiving section 2. In this case, by transmitting a command to the light projecting section 1 to let the light receiving section 2 perform a projection operation, the result of the detecting process is incorporated in the light receiving section 2, so that the result is set to the light receiving section 2 after performing an invalidation process for optical axes, etc.

[0055] The data processing device 3 is configured to be able to rewrite a program of the control section 36 and the setting data in the sensor S appropriately so that it can be used continuously even when a program for setting is modified, or a new type of sensor is released.

[0056] To perform this rewriting process, first, the data processing device 3 is connected to a personal computer (undescribed in drawings) including electric data for updating, etc., through the USB interface 39. Then, the setting data is rewritten in the data processing device 3 by the personal computer. Next, by connecting the data processing device 3 to the sensor S, the setting data to the sensor S is updated under the determination of the data processing device 3.

[0057] The same setting data for a certain sensor S1 may be used for another sensor S2. In this case, by connecting the certain sensor S1 to the data processing device 3, the setting data for the certain sensor S1 is backuped in the data processing device 3 under the determination of the data processing device 3. After that, by connecting the data processing device 3 to the other sensor S2, the setting data is restored in the other sensor S2 under the determination of the data processing device 3.

[0058] As for an easy process, such as a change of type of reset, the data processing device 3 can perform the process alone by connecting the data processing device 3 to the sensor S. As for a complicated setting, if the setting data is written in the data processing device 3 by a personal computer once, the setting data can be written in the sensor S under the determination of the data processing device 3 by connecting the data processing device 3 to the sensor S.

[0059] In the data processing device 3 according to the present embodiment, the DIP switch 31 is provided as a setting section for setting the above-mentioned operating conditions of the data processing device 3. Fig. 3 is a diagram showing a part of the functions of the DIP switch 31.

[0060] In the present embodiment, the DIP switch having eight channels is used. As shown in Fig. 3, a channel 1 is used for switching "LOCK" and "UNLOCK". At the time of shipment of the data processing device 3 from the factory, the channel 1 is set to "UNLOCK." If the channel is set to "UNLOCK", the data written in the data processing device 3 in in uncertain condition, so that it is possible to backup the setting data. If the channel 1 is set to "LOCK", the data written in the data processing device 3 is in determined condition, so that it is possible to restore the setting data. It can be said that the channel 1 is a switch for switching a backuping operation and a restoring operation.

[0061] As shown in Fig. 3, a channel 2 is used for switching "DIP ENABLE" and "DIP DISABLE." At the time of shipment of the data processing device 3 from the factory, the channel 2 is set to "DIP DISABLE." If the channel 2 is set to "DIP DISABLE", the setting by the DIP switch 31 is disabled, so that the setting written in the data processing device 3 by a personal computer is enabled. If the channel 2 is set to "DIP ENABLE", the setting by the DIP switch 31 is enabled, the information written by the personal computer is overwritten with the information set by the DIP switch 31. Therefore, it is possible to set the operation of the sensor S in the data processing device 3 alone.

[0062] As shown in Fig. 3, a channel 3 is used for switching the functions of EDM (External Device Monitoring) . At the time of shipment of the data processing device 3 from the factory, the channel 3 is set to "EDM Disabled", so that EDM is disabled. If EDM is enabled, the monitoring of a relay contact, etc., is performed by the sensor S.

[0063] As shown in Fig. 3, a channel 4 and a channel 5 are used for switching "Auto Reset" and "Manual Reset." At the time of shipment of the data processing device 3 from the factory, the channel 4 and the channel 5 are set to "Auto Reset." If they are set to "Auto Reset", an safety output is output when the sensor S confirms that the operations of receiving light are done in all optical axes. If they are set to "Manual Reset", the safety output is output after a user's operation even when the sensor S confirms that the operations of receiving light are done in all optical axes.

[0064] As described above, the data processing device 3 according to the present embodiment, it is possible to change the setting of the operations of the sensor 3 in the data processing device 3 alone by setting the DIP switch 31.

[0065] Referring to the flowchart indicated in Fig. 4 to Fig.6, a backup process and a restore process by the data processing device 3 will be described below.

[0066] The processed indicated in Fig.4 to Fig. 6 are implemented at that time of starting the data processing device 3.

[0067] First, as shown in Fig. 4, the control section 36 in the data processing device 3 determines whether or not the data processing device 3 is connected to the sensor S (S1). If the control section 36 determines that the data processing device 3 is not connected to the sensor 3 (S1:NO), the control section 36 receives setting data, etc. from a personal computer to perform updating the setting data of the memory 37, etc., since it is determined that the data processing device 3 is connected to the personal computer (S2) .

[0068] If the control section 36 determines that the data processing device 3 is connected to the sensor S (S1:YES), the control section 36 determines whether this data processing device 3 is in the state of factory shipment and used for the first time, or it already has a used history (S3). It is possible to determine whether it is used for the first time or not since any data for any sensor S is not stored in the memory 37.

[0069] If the control section 36 determines that this data processing device 3 is used for the first time (S3:YES), it performs backuping process forcibly (S4). If the control section 36 determines that this data processing device 3 is not used for the first time and has a use history (S3:NO), it determines whether or not the channel 1 of the DIP switch 31 is set to "UNLOCK" (S5). If the control section 36 determines that the channel 1 of the DIP switch 31 is set to "UNLOCK" (S5:YES), it performs the backuping process (S6).

[0070] However, if the control section 36 determines that the channel 1 of the DIP switch 31 is set to "LOCK" (S5:NO), it determines whether or not the setting data read out from the sensor S connected to the data processing device 3 coincides with the setting data stored in the data processing device 3 (S7). The setting data is one for the type of the sensor S, the number of optical axes, the distance of an axis, etc.

[0071] If the control section 36 determines that the data processing device 3 is connected to a new sensor 3 since the setting data does not coincide with that stored in the data processing device 3 (S7:NO), it performs a restoring process (S8). However, if the control section 36 determines that the data processing device 3 is connected to the same sensor 3 as that connected to so far since the setting data coincides with that stored in the data processing device 3 (S7:YES), it performs a normal process (a sensor detecting operation) without changing the setting data in the sensor S (S9).

[0072] Fig. 5 shows the details of a forcible backuping process indicated in the step S4 of Fig.4 and a backuping process indicated in the step S6 of Fig.4.

[0073] As shown in Fig. 5, the control section 36 turns on the IN-LED 33A when the forcible backuping process or the backuping process is started (S10).

[0074] If the sensor S detects that the data processing device 3 is connected to the sensor S, the setting data in the data processing device 3 is in the state of capable of being backuped. Next, the control section 36 makes the IN-LED 33A blink at a slow speed (S12).

[0075] The control section 36 determines whether the buckuping process is a forcible one or a normal one (S13). As described above, if any data of any sensor S is not stored in the memory 37, the control section 36 can determine that it is a forcible backuping process. If the control section 36 determines that it is a forcible backuping process (S13:YES), it copies the setting data in the sensor S and the setting data in the data processing device 3 to the memory 37 (S15) to turn on the IN-LED 33A. If it is a forcible backuping process, the forcible backuping process is implemented just by connecting the data processing device 3 to the sensor S.

[0076] If the control section 36 determines that it is not a forcible backuping process (S13:NO), it determines whether or not the push switch 32 is pressed more than one second (S14). This is because it prevents user's undesired rewriting of data in the data processing device 3 from being implemented. Although this is not described in Fig. 5, if the control section 36 cannot confirm that the push switch 32 is pressed more than one second even after a predetermined period, it may suspend a process.

[0077] If the control section 36 determines that the push switch 32 is pressed more than one second (S14:YES), it copies the setting data in the sensor S to the memory 37 (S15) to turn on the IN-LED 33A (S15).

[0078] The control section 36 determines whether or not the buckuping process is completed successfully (S16). If the control section 36 determines that the buckuping process is completed successfully (S16:YES), it makes the IN-LED 33A blink (S17). If the control section 36 determines that the buckuping process is not completed successfully (S16:NO), it makes the IN-LED 33A blink and makes the ERR-LED 33C turn on (S18) .

[0079] After that, the power is turned off, the data processing device 3 is removed from the sensor S (S19).

[0080] Fig. 6 shows the details of a restoring process indicated in the step S8 of Fig. 4.

[0081] As shown in Fig. 6, the control section 36 makes the OUT-LED 33B turn on when the restoring processing is started (S20).

[0082] If the sensor S detects that the data processing device 3 is connected to the sensor S, the setting data is in the state of capable of being restored to the data processing device 3. The control section 36 makes the OUT-LED 33B at a slow speed (S22).

[0083] The control section 36 determines whether the basic information of the connected sensor S coincides with the basic information stored in the data processing device 3 (S23). The basic information includes a CRC of setting data group and a connecting configuration of a sensor S. The setting data group includes a type of a sensor S, the number of optical axes, a distance between optical axes, etc.

[0084] If the control section 36 determines that the basic information of the connected sensor S coincides with the basic information stored in the data processing device 3 (S23:YES), it copies the setting data stored in the memory 37 in the data processing device 3 to the sensor S to make the OUT-LED 33A turn on (S26) . Thus, at the restoring process, when the basic information coincides with the basic information stored in the data processing device 3, the restoring process is automatically implemented just by connecting the data processing device 3 to the sensor S.

[0085] If the control section 36 determines that the basic information of the connected sensor S does not coincide with the basic information stored in the data processing device 3 (S23:NO), it determines whether or not only the number of optical axes of the sensor S is different from that in the basic information stored in the data processing device 3 (S24). This is because there is a case where the restoring process is implemented with respect to the sensor S, in which only the number of optical axes is different, according to the user's determination. If the control section 36 determines that only the number of the optical axes in the sensor S is different from that in the basic information stored in the data processing device 3 (S24:YES), it determines whether or not the push switch 32 is pressed more than one second (S26) . This is because it prevents user's undesired rewriting of data in the sensor S from being implemented. Although this is not described in Fig. 6, if the control section 36 cannot confirm that the push switch 32 is pressed more than one second even after a predetermined period, it may suspend a process.

[0086] If the control section 36 determined that the push switch 32 is pressed more than one second (S26:YES), it copies the setting data stored in the memory 37 of the data processing device 3 to the sensor S to make the OUT-LED 33B turn on (S37).

[0087] If the control section determines that not only the number of optical axes of the sensor S, but also other information is different from those in the basic information stored in the data processing device 3 (S24:NO), it makes the IN-LED 33A and the OUT-LED 33B blink, and makes the ERR-LED 33C turn on since it is inappropriate to implement the restoring process.

[0088] The control section 36 determines whether or not the restoring process is completed successfully after the copy of the setting data from the data processing device 3 to the sensor S indicated in the step S27 is completed (S28) . If the control section 36 determines that the restoring process is completed successfully (S28:YES), it makes the OUT-LED 33B blink (S29). If the control section 36 determines that the restoring process is not completed successfully (S28:NO), it makes the OUT-LED 33B blink, and makes the ERR-LED 33C turn on (S30).

[0089] After that, the power is turned off, the data processing device 3 is removed from the sensor S (S31). Although this is not described in Fig. 6, the data processing device 3 may be restarted without removing the data processing device 3 from the sensor S.

[0090] As described above, according to the present embodiment, a backuping process and a restoring process are implemented according to the determination by the data processing device 3 just by connecting the data processing device 3 to the sensor S. Therefore, it is possible for anyone to easily implement the backuping process and the restoring process without bringing a personal computer, etc., to a production site.

(Second Embodiment)



[0091] In the above-described embodiment, the data processing device 3 is connected to one sensor S. However, the data processing device 3 may implement the above-described backuping process and restoring process with respect to a plurality of sensors S by securing memory areas for the plurality of sensors S in the memory 37 and distinguishing each of the plurality of sensors S.

[0092] Furthermore, by memorizing product information for every light projecting section 1 and every light receiving section 2 in the data processing device 3, the restoring process may be automatically implemented just when the sensor 3 is connected to the data processing device 3 if only the same type of light projecting section 1, or only the same type of light receiving section 2 is exchanged.

[0093] Moreover, the sensor S may be operated on the basis of data after the restoring process by automatically restarting the sensor S after the data processing device 3 implements the restoring process.

[0094] The embodiments are described as the exemplification of the present invention. Therefore, the present invention is not limited to those embodiments. Various modifications may be made without departing from the scope and spirit of the present invention. Although each of the above-described plurality of embodiments can be established independently, it is possible to combine the plurality of embodiments. Furthermore, although each of various features in different embodiments can be established independently, it is possible to combine the various features in different embodiments.

REFERENCE NUMBERS



[0095] 
1
LIGHT PROJECTING SECTION
2
LIGHT RECEIVING SECTION
3
DATA PROCESSING DEVIE
4
BRANCH CONNECTOR
5
EXTERNAL POWER SOURCE
6A
COMMUNICATION LINE
6B
COMMUNICATION LINE
7A
POWER SUPPLY LINE
7B
POWER SUPPLY LINE
11
LIGHT PROJECTING ELEMENT
12
DRIVING CIRCUIT
13
OPTICAL AXIS SEQUENTIAL SELECTING CIRCUIT
16
CONTROL CIRCUIT
17
COMMUNICATION CIRCUIT
18
POWER SUPPLY CIRCUIT
21
LIGHT RECEIVING ELEMENT
22
AMPLIFIER
23
ANALOG SWITCH
24
INPUTTING AMPLIFIER
25
OPTICAL AXIS SEQUENTIAL SELECTING CIRCUIT
26
CONTROL CIRCUIT
27
COMMUNICATION CIRCUIT
28
POWER SUPPLY CIRCUIT
31
DIP SWITCH
32
PUSH SWITCH
33
LED
33A
IN-LED
33B
OUT-LED
33C
ERR-LED
34
USB TERMINAL
35A
CONNECTING TERMINAL
35B
CONNECTING TERMINAL
36
CONTROL SECTION
37
MEMORY
38
COMMUNICATION SECTION
39
USB INTERFACE
40
POWER SUPPLY SECTION
41
DISPLAY SECTION
42
INPUT SECTION
S
MULTIPLE OPTICAL AXIS PHOTOELECTRIC SENSOR



Claims

1. A data processing device that is capable of being connected to a multiple optical axis photoelectric sensor for detecting a shielded state for each of a plurality of optical axes to output a signal indicating presence or absence of an object on the basis of a result of detecting the shielded state, and is capable of reading and writing data including setting data for setting definitions of detecting operations at the multiple optical axis photoelectric sensor, the data processing device for the multiple optical axis photoelectric sensor comprising:

a communication section that is capable of communicating with the multiple optical axis photoelectric sensor;

a storing section that is capable of storing the setting data and product information of the multiple optical axis photoelectric sensor;

a setting section for setting operating conditions of the data processing device; and

a control section for controlling an operation of the data processing device,

wherein the control section reads the setting data from the multiple optical axis photoelectric sensor through the communication section to store the setting data read from the multiple optical axis photoelectric sensor in the storing section, or writes the setting data, which is stored in the storing section, in the multiple optical axis photoelectric sensor through the communication section, according to a state of connection with the multiple optical axis photoelectric sensor, a use history of the data processing device, the operating conditions set by the setting section, and the product information.


 
2. The data processing device for the multiple optical axis photoelectric sensor according to claim 1,
wherein the control section performs reading or writing of the setting data if the control section determines that the data processing device is in a state of connecting to the multiple optical axis photoelectric sensor.
 
3. The data processing device for the multiple optical axis photoelectric sensor according to claim 2,
wherein the control section forcibly performs the reading of the setting data if the control section determines that the data processing device does not have a use history of the data processing device.
 
4. The data processing device for the multiple optical axis photoelectric sensor according to claim 2 or 3,
wherein the control section performs the reading of the setting data if the control section determines that thee data processing device has a use history of the data processing device, and if the reading of the setting data is set to be enabled by the setting section.
 
5. The data processing device for the multiple optical axis photoelectric sensor according to claim 4,
wherein the data processing device further comprises a confirming switch,
wherein the control section performs the reading of the setting data after the control section confirms that the confirming switch is pressed by a user.
 
6. The data processing device for the multiple optical axis photoelectric sensor according to any one of claims 2 to 5,
wherein the control section performs the writing of the setting data if the control section determines that the data processing device has a use history of the data processing device, and if the reading of the setting data is set to be disabled by the setting section, and if product information of the multiple optical axis photoelectric sensor does not coincide with that stored in the storing section.
 
7. The data processing device for the multiple optical axis photoelectric sensor according to claim 6,
wherein the data processing device further comprises a confirming switch,
wherein the control section performs the writing of the setting data after the control section confirms that the confirming switch is pressed by a user.
 
8. The data processing device for the multiple optical axis photoelectric sensor according to claim 6 or 7,
wherein the control section makes the multiple optical axis photoelectric sensor operate using the setting data after the writing of the setting data is performed, by restarting the multiple optical axis photoelectric sensor after performing the writing of the setting data.
 
9. The data processing device for the multiple optical axis photoelectric sensor according to any one of claims 1 to 8,
wherein a plurality of multiple optical axis photoelectric sensors are provided,
wherein the storing section is capable of storing each product information for each of the plurality of multiple optical axis photoelectric sensors,
wherein the control section performs the reading of the setting data from each of the plurality of multiple optical axis photoelectric sensors, or performs the writing of the setting data in each of the plurality of multiple optical axis photoelectric sensors.
 
10. The data processing device for the multiple optical axis photoelectric sensor according to any one of claims 1 to 9,
wherein the multiple optical axis photoelectric sensor comprises a light projecting section and a light receiving section,
wherein the storing section is capable of storing each product information for each of the light projecting section and the light receiving section,
wherein the control section performs the reading of the setting data from each of the light projecting section and the light receiving section, or performs the writing of the setting data in each of the light projecting section and the light receiving section.
 
11. The data processing device for the multiple optical axis photoelectric sensor according to claim 10,
wherein the data processing device is capable of being connected to a plurality of light projecting sections and a plurality of light receiving sections,
wherein the storing section is capable of storing each product information for each of the plurality of light projecting sections and each of the plurality of light receiving sections,
wherein the control section performs the reading of the setting data from each of the plurality of light projecting sections and each of the plurality of light receiving sections, or performs the writing of the setting data in each of the plurality of light projecting sections and each of the plurality of light receiving sections.
 
12. The data processing device for the multiple optical axis photoelectric sensor according to any one of claims 1 to 11,
wherein the data processing device further comprises a generic communication section that is capable of communicating with other devices,
wherein the control section is capable of transmitting data stored in the storing section to the other device through the generic communication section.
 
13. The data processing device for the multiple optical axis photoelectric sensor according to any one of claims 1 to 12,
wherein the data processing device is capable of being driven only by a bus power in a personal computer.
 




Drawing






















Search report










Cited references

REFERENCES CITED IN THE DESCRIPTION



This list of references cited by the applicant is for the reader's convenience only. It does not form part of the European patent document. Even though great care has been taken in compiling the references, errors or omissions cannot be excluded and the EPO disclaims all liability in this regard.

Patent documents cited in the description