Position detection sensor

By designing a position detection sensor that uses magnets and Hall elements to detect piston position and displays symbols and color changes via LEDs, the problem of convenient installation and accurate positioning of cylinder piston position detection devices is solved, achieving intuitive position indication and precise positioning.

CN122149298APending Publication Date: 2026-06-05KEYENCE CORP

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
KEYENCE CORP
Filing Date
2025-11-21
Publication Date
2026-06-05

AI Technical Summary

Technical Problem

In the existing technology, cylinder piston position detection devices are difficult to install conveniently and accurately position, and lack intuitive position indication methods.

Method used

A position detection sensor is designed, including a detection device, a position designation unit, a housing, a display unit, and a display control unit. It detects the piston position through a magnet and a Hall element, and uses LEDs to display symbols and color changes to indicate the piston position, supporting multiple detection ranges and status displays.

Benefits of technology

It enables convenient installation and precise positioning of position detection sensors, provides intuitive position indication, and improves the visualization and accuracy of operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122149298A_ABST
    Figure CN122149298A_ABST
Patent Text Reader

Abstract

The present application relates to a position detection sensor. The object is to facilitate the installation work of the position detection sensor. The position detection sensor generates a detection signal corresponding to the position of a magnet provided on a displacement body, and specifies the position of the displacement body in a first direction based on the detection signal. A display unit of the position detection sensor includes a plurality of display elements arranged at different positions from each other on a housing along the first direction, and displays a symbol for indicating the position of the displacement body along the first direction. The position detection sensor controls the display unit to display, in different modes, a first state in which the displacement body is present at a first position corresponding to one end of a displacement range, a second state in which the displacement body is present at a second position corresponding to the other end of the displacement range, and an intermediate state in which the displacement body is present at an intermediate position between the first position and the second position, by displaying the symbol at different positions on the plurality of display elements.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to position detection sensors. Background Technology

[0002] In factory automation, cylinders are used to perform operations such as pushing, pulling, and gripping. JP2003-240531A proposes using pneumatic or hydraulic pressure to detect the position of a piston moving within a cylinder.

[0003] In addition, JP2003-240531A proposes a display unit for illuminating light when the piston reaches a predetermined position.

[0004] However, in the invention described in JP2003-240531A, it is only known that the piston has reached a predetermined position. Typically, the piston moves from a starting position to an ending position within a movement range. Therefore, it would be convenient to be able to specifically indicate where the piston is located within the movement range. In particular, it becomes easy to install a position detection sensor for detecting the piston's position in a working machine such as a cylinder. Therefore, the object of the present invention is to facilitate the installation of a position detection sensor. Summary of the Invention

[0005] This invention provides, for example: A position detection sensor is configured to detect the position of a displacement body capable of moving parallel to a first direction, the position detection sensor comprising: A detection device configured to generate a detection signal corresponding to the position of a magnet disposed on the displacement body; A position designation unit is configured to designate the position of the displacement body in the first direction based on a detection signal generated by the detection device; A housing configured to accommodate at least a portion of the detection device and extending along the first direction; A display unit comprising a plurality of display elements arranged at different positions on the housing along the first direction, and configured to display a symbol indicating the position of the displacement body along the first direction; and A display control unit is configured to control the display unit to display a first state, a second state, and an intermediate state in different modes by displaying the symbol at different positions on the plurality of display elements, wherein in the first state, the shifter is present at a first position corresponding to one end of the shift range, in the second state, the shifter is present at a second position corresponding to the other end of the shift range, and in the intermediate state, the shifter is present at an intermediate position between the first position and the second position.

[0006] According to the present invention, the installation of the position detection sensor is facilitated. Attached Figure Description

[0007] Figure 1 This is a diagram used to illustrate a position detection sensor; Figure 2 This is a 3D diagram used to illustrate the cylinder block sensor and the cylinder block; Figure 3 This is an exploded 3D view of the cylinder block sensor; Figure 4 This is a schematic cross-sectional view of the cylinder block sensor and the cylinder block; Figure 5 This is a diagram illustrating a control system for cylinder block sensors; Figure 6 This is a diagram illustrating the control system of a relay amplifier; Figures 7A to 7C It is a diagram used to explain symbols; Figures 8A to 8C It is a diagram used to explain symbols; Figure 9 This is a flowchart illustrating the control method; Figures 10A to 10C It is a diagram used to explain symbols; Figures 11A to 11C It is a diagram used to explain symbols; Figure 12 This is a flowchart illustrating the setup method; Figure 13 This is a flowchart illustrating the deletion method; Figure 14A and Figure 14B It is a diagram used to explain symbols; Figure 15 This is a diagram used to illustrate the user interface in a repeater amplifier; Figure 16A and Figure 16B This is a diagram illustrating other examples of the symbols; Figure 17 This is a diagram illustrating other examples of the symbols; Figure 18 This is a diagram illustrating other examples of the symbols; Figures 19A to 19C It is a diagram used to illustrate the symbols displayed on a repeater amplifier or display panel; Figures 20A to 20C It is a diagram used to illustrate the symbols displayed on a repeater amplifier or display panel; Figures 21A to 21C It is a diagram used to illustrate the symbols displayed on a repeater amplifier or display panel; Figure 22 This is a flowchart illustrating the display control method in a relay amplifier; Figure 23 This is a flowchart illustrating the setup method in a repeater amplifier; Figure 24 This is a flowchart illustrating the deletion method in a repeater amplifier; Figure 25 This is a diagram used to illustrate the display panel; Figure 26 It is a diagram used to illustrate the symbols displayed on the display panel; Figures 27A to 27C It is a diagram used to illustrate the symbols displayed on the display panel; Figure 28 It is a diagram used to illustrate the symbols displayed on the display panel; Figure 29 It is a diagram used to illustrate the symbols displayed on the display panel; Figure 30 This is a flowchart illustrating the display control methods in the display panel; Figure 31 This is a flowchart illustrating the settings methods in the display panel; Figure 32 These are diagrams illustrating other examples of control systems for cylinder block sensors; Figure 33 is a diagram illustrating other examples of position detection sensors; and Figure 34 These are diagrams illustrating other examples of control systems for relay amplifiers. Detailed Implementation

[0008] The embodiments will be described in detail below with reference to the accompanying drawings. Note that the following embodiments do not limit the invention according to the claims, and not all combinations of the features described in the embodiments are necessarily essential to the invention. Any combination of two or more of the multiple features described in the embodiments may be used. Furthermore, identical or similar configurations are indicated by the same reference numerals, and redundant descriptions will be omitted.

[0009] 1. Position detection sensor Figure 1Example: Position detection sensor 100. Valve system 101 includes one or more valves 122 connected to cylinder 102 via air conduit 111, and a controller 121 for controlling valves 122. Controller 121 communicates with repeater amplifier 104 via IO-Link cable 112. IO-Link is merely an example of a communication standard, and other communication standards may be used. Repeater amplifier 104 is a relay device for relaying the detection results of cylinder block sensor 103 to controller 121 and relaying power supplied from valve system 101 to cylinder block sensor 103. Repeater amplifier 104 does not need to have signal amplification capabilities. Repeater amplifier 104 communicates with cylinder block sensor 103 via IO-Link cable 113. Cylinder block sensor 103 detects the position of a piston movably positioned in cylinder 102 and outputs the detection result to repeater amplifier 104. Repeater amplifier 104 outputs the detection result of cylinder block sensor 103 to controller 121. As a result, the controller 121 identifies the position of the piston and controls the direction of air supply to the cylinder 102 via the valve 122 based on the position of the piston.

[0010] The position detection sensor 100 may optionally include a display panel 105. In the work site (factory) where the position detection sensor 100 is installed, it may be necessary to display the detection results of the position detection sensor 100 on a large screen. This is so that users located far from the cylinder 102 can visually identify the detection results. Alternatively, this is because the display area of ​​the cylinder 102's display function is smaller than the display area of ​​the display panel 105. The controller 121 of the valve system 101 is connected to the display panel 105 via an Ethernet (registered trademark) cable 114 and sends and receives various signals. Specifically, the valve system 101 has a dedicated communication port 123 to which the display panel 105 is connected, and the display panel 105 is connected to the dedicated communication port 123.

[0011] Position the cylinder block sensor 103 relative to cylinder 102 as desired by the user. Instructions can be provided to the user to facilitate the installation of the cylinder block sensor 103.

[0012] The cylinder block sensor 103 and the relay amplifier 104 can be integrated. Alternatively, they can be separated into the cylinder block sensor 103 (sensor head) and the relay amplifier 104 (body). As a result, for example, the sensor head can be miniaturized. Consequently, the cylinder block sensor 103 can be installed even in a cylinder 102 with a small assembly margin.

[0013] 2. Arrangement of cylinder block sensors and cylinders Figure 2This example illustrates the state in which the cylinder sensor 103 is installed in the cylinder 102. According to this example, the cylinder 102 includes one or more slots 131 extending along its long side. The cylinder sensor 103 is inserted into and secured to any of the slots 131. Here, the external dimensions of the housing 200 of the cylinder sensor 103 are slightly smaller than the dimensions of the inner space of the slot 131. Therefore, the cylinder sensor 103 can slide within the slot 131. Note that the cylinder sensor 103 can also be installed in a cylinder 102 that does not include the slot 131. In this case, the cylinder sensor 103 can be secured to the cylinder 102 using straps and fittings.

[0014] A light-transmitting cover 201 is provided on the upper part of the housing 200. Below the cover 201 are a power LED 204 for indicating power on / off, a first output LED 205 for indicating the output of a first output signal, and a second output LED 206 for indicating the output of a second output signal. LED is an abbreviation for Light Emitting Diode. The detection result assigned to the first and second output signals can be set by the user. For example, when the position of the piston of cylinder 102 is detected to be within the first detection range, the level of the first output signal can be changed from low to high. When the position of the piston of cylinder 102 is detected to be within the second detection range, the level of the second output signal can be changed from low to high.

[0015] The operation button 202 is used by the user to make various settings for the cylinder block sensor 103.

[0016] Display window 203 displays a symbol indicating the position of the piston in cylinder 102. This symbol can be implemented by illuminating an LED corresponding to the piston's position. The symbol can be a bar indicating the piston's position or a bar indicating the distance the piston has traveled relative to a reference position. LEDs are merely an example; liquid crystal displays (LCDs) or organic EL displays (OLED displays) can also be used. EL is an abbreviation for electroluminescent. OLED is an abbreviation for organic light-emitting diode. In this case, the symbol can be a numerical value or a combination of an image (e.g., a bar) and a numerical value. Furthermore, LEDs and displays can be combined.

[0017] 3. Structure of the cylinder block sensor Figure 3 This is an exploded perspective view of the cylinder block sensor 103. The cover 201 has a housing hole 301 for receiving the operation button 202. A control board 302 is fixed inside the housing 200. The control board 302 has a switch 303. The switch 303 (the so-called operation switch) can be, for example, a tactile switch, where a movable contact contacts a fixed contact to conduct when the operation button 202 is pressed.

[0018] The control panel 302 also includes a plurality of LEDs 305 disposed below the display window 203. The plurality of LEDs 305 can be arranged at predetermined constant intervals (e.g., 2 mm). The plurality of LEDs 305 display symbols indicating position detection results. The plurality of LEDs 305 can be RGB LEDs capable of displaying information in colors processed by red, green, and blue light-emitting elements. The plurality of LEDs 305 can simultaneously display symbols indicating a first detection range corresponding to a first output signal, a second detection range corresponding to a second output signal, and a symbol indicating the current position of the piston. For example, the plurality of LEDs 305 corresponding to the first detection range can be illuminated in blue, the plurality of LEDs 305 corresponding to the second detection range can be illuminated in orange, and one or more LEDs 305 corresponding to the current position of the piston can be illuminated in green. Note that when the piston enters the first detection range, the LED 305 corresponding to the current position of the piston can be illuminated in other colors (e.g., white, red, yellow, flashing green, flashing blue).

[0019] A plurality of Hall elements 304 are arranged in a side surface region near the bottom surface of the control panel 302. The plurality of Hall elements 304 are examples of magnetic detection elements used to detect changes in magnetic flux density received from a magnet built into the piston and output a detection signal. The plurality of Hall elements 304 are arranged at a predetermined constant interval (e.g., 4 mm or more and 6 mm or less). As mentioned above, the arrangement interval of the plurality of Hall elements 304 is greater than the arrangement interval of the plurality of LEDs 305. The arrangement interval of the plurality of Hall elements 304 can be approximately 10 mm. The arrangement interval of the plurality of Hall elements 304 being greater than the arrangement interval of the plurality of LEDs 305 is merely an example, and this condition is not required.

[0020] The upper surface of the housing 200 includes screw holes 311. A fixing screw 312 is screwed into the screw holes 311. The tip of the fixing screw 312 protrudes from the side surface of the housing 200 and presses against the groove 131 of the cylinder 102. As a result, the cylinder sensor 103 is securely fixed in the groove 131 of the cylinder 102. Note that when the fixing screw 312 is loosened, the cylinder sensor 103 can slide freely within the groove 131.

[0021] Figure 4This is a schematic cross-sectional view illustrating cylinder 102 and cylinder sensor 103. Cylinder 102 includes a cylinder barrel 400 disposed below slot 131, a piston 402 slidable within cylinder barrel 400, a magnet 403 disposed on piston 402, and piston rod 401. Piston 402 moves in conjunction with the expulsion or suction of air via valve system 101, thereby moving piston rod 401. Piston rod 401 can operate a robotic arm (gripper), etc.

[0022] The cylinder sensor 103 calculates the position of the piston 402 based on various detection results output from multiple Hall elements 304, and controls the lighting and extinguishing of each of multiple LEDs 305, the first output LED 205, and the second output LED 206 based on the calculation results. The lighting control may include lighting color control.

[0023] 4. Control System 4-1. Cylinder Block Sensor Figure 5 An example is the controller for cylinder block sensor 103. CPU 501 is a processor or processing circuit that implements various functions by executing the control program 521 stored in memory 502. One or more of the functions described below can be mounted on an integrated circuit external to CPU 501. A drive circuit for generating drive current for driving the load is provided between CPU 501 and the load, but... Figure 5 The description of the drive circuit is omitted. The Hall element control unit 511 supplies power to a plurality of Hall elements 304, which serve as examples of magnetic detection elements, and acquires detection signals output from the plurality of Hall elements 304. The position designation unit 512 designates the position of the piston 402 based on the detection signals output from the plurality of Hall elements 304.

[0024] The setting unit 513 executes various settings required by the valve system 101 using the detection results of the cylinder sensor 103. The range setting unit 514 sets the position of the i-th detection range corresponding to the i-th output signal. i is an integer of 1 or greater than 1. For example, the start and end positions of the i-th detection range can be set. Alternatively, one of the start and end positions of the i-th detection range and the width of the i-th detection range can be set. In the following, i is 1 or 2, but i can be 3 or greater than 3. The width setting unit 515 sets the width of the i-th detection range. The setting unit 513 can set the cylinder sensor 103 via the external input terminal 503 according to the setting instructions input from the repeater amplifier 104, the valve system 101, or the display panel 105. The setting unit 513 can execute various settings according to a predetermined operation of the operation switch 303 (e.g., a long press operation for a predetermined second, a short press operation, a double click).

[0025] The display control unit 516 controls the indicator lights 504 and the symbol display 505 to display various types of information to the user. For example, when power is supplied through the power terminal 507 of the power line included in the IO-Link cable 113 and the CPU 501 is activated, the display control unit 516 illuminates the power LED 204. When the position of the piston 402 specified by the position designation unit 512 is within the first detection range, the display control unit 516 illuminates the first output LED 205. When the position of the piston 402 specified by the position designation unit 512 is within the second detection range, the display control unit 516 illuminates the second output LED 206. The display control unit 516 illuminates one or more LEDs 305 corresponding to the first detection range. The display control unit 516 illuminates one or more LEDs 305 corresponding to the second detection range. The display control unit 516 illuminates one or more LEDs 305 corresponding to the third detection range. As described above, the display control unit 516 illuminates one or more LEDs 305 corresponding to the i-th detection range.

[0026] Output unit 517 outputs position information to repeater amplifier 104 via external output terminal 506 and IO-Link cable 113, indicating the position of piston 402 as specified by position designation unit 512. Here, the information output from output unit 517 may include at least one of the following. • Position information of piston 402 in cylinder 102... Information used to indicate the position of piston 402 inside cylinder 102. Position information may include the distance from a predetermined reference point to the current position of piston 402. • Operating speed of cylinder 102... This is the operating speed of piston 402. It may include unit information for specifying the operating speed (examples: mm / sec, m / sec, in / sec (inches per second), ft / sec (feet per second)). • Acceleration...The acceleration of piston 402. This information is included if cylinder block sensor 103 can detect the acceleration of piston 402. The unit for specifying the acceleration may be included (e.g., mm / s). 2 m / s 2 (Unit information) • Output information...information used to indicate whether piston 402 exists within the detection range of the position of piston 402 set relative to cylinder block sensor 103 when cylinder 102 is mounted. This can be an output signal that is only output if piston 402 is within the detection range. • Position deviation detection scenario... Information output when piston 402 stops outside the detection range. • Model-specific information such as machine status and model number... length of cylinder sensor 103 and slot type. • Error... Information used to indicate damage to cylinder block sensor 103, etc. • Setting parameters (internal memory information)... Setting information, such as output position, output width (the range of output signal opening), span (the inclination of the actual moving distance relative to the moving distance of piston 402 / mainly used in fixtures, etc.), offset (any position is set to 0), mounting direction (which direction the cylinder sensor 103 is mounted in among up, down, left, and right), NPN / PNP (output polarity) and units (examples: mm, m, inch, foot, etc.).

[0027] Note that CPU 501 can receive the following information from repeater amplifier 104. • Set parameters such as teaching (output position setting), span (inclination of the actual movement distance relative to the movement distance of piston 402 / mainly used in fixtures, etc.), offset (set to 0 at any position), mounting direction (which direction the cylinder sensor 103 is mounted in among up, down, left, and right), output position, NPN / PNP (output polarity), output logic (whether the contact is closed or open when ON), units (examples: mm, m, inch, foot), etc. • Indication information, such as communication synchronization (communication synchronization signal), output settings (output position setting signal), and shipment reset (initialization). • Error... An error message is sent to the cylinder block sensor 103 when an abnormal state is detected in the valve system 101 or the cylinder 102 itself for the attached cylinder 102.

[0028] When the position of piston 402 is within the first detection range, output unit 517 outputs a first output signal. When the position of piston 402 is within the second detection range, output unit 517 outputs a second output signal. When the position of piston 402 is within the third detection range, output unit 517 outputs a third output signal. As described above, when the position of piston 402 is within the i-th detection range, output unit 517 outputs the i-th output signal. Here, the output signal can be logic that changes the output signal according to a predetermined rule.

[0029] Memory 502 is a storage device that includes storage elements such as random access memory (RAM) and non-volatile storage elements such as read-only memory (ROM).

[0030] 4-2. Repeater Amplifier Figure 6The controller of repeater amplifier 104 is illustrated. CPU 601 is a processor or processing circuit that implements various functions by executing control program 621 stored in memory 602. Note that one or more of the functions described below can be mounted on an integrated circuit disposed externally to CPU 601.

[0031] Communication circuit 604 communicates with valve system 101 via IO-Link cable 112 and with cylinder block sensor 103 via IO-Link cable 113. Power terminal 607 is supplied with power from valve system 101 via IO-Link cable 112 or to cylinder block sensor 103 via IO-Link cable 113. External input terminal 603 includes terminals connected to IO-Link cable 112 and IO-Link cable 113, and is used to receive information transmitted from cylinder block sensor 103 and valve system 101. External output terminal 606 includes terminals connected to IO-Link cable 112 and IO-Link cable 113, and is used to transmit information to cylinder block sensor 103 and valve system 101.

[0032] Operation switch 605 is a switch for receiving various operation inputs from the user. Indicator light 614 is an LED that displays the detection status of cylinder block sensor 103. Indicator light 614 may include a power LED 624 for indicating whether relay amplifier 104 is on or off, a first output LED 625 for indicating whether a first output signal is output from cylinder block sensor 103, and a second output LED 626 for indicating whether a second output signal is output from cylinder block sensor 103.

[0033] OLED display 630 is a display that includes organic EL light-emitting diodes. Memory 602 is a storage device that includes storage elements such as random access memory (RAM) and non-volatile storage elements such as read-only memory (ROM).

[0034] The functions implemented by CPU 601 include the following: Device determination unit 611 communicates with the devices (valve system 101 and cylinder block sensor 103) connected to relay amplifier 104 to specifically designate the device. Device update unit 612 updates the setting information and control program 521 of the devices (e.g., cylinder block sensor 103) connected to relay amplifier 104.

[0035] The setting unit 613 sets the operation of the repeater amplifier 104. Furthermore, the setting unit 613 can replace or cooperate with the setting unit 513 to set the cylinder block sensor 103. For example, the range setting unit 634 sets the position of the detection range of the piston 402 in the cylinder block sensor 103. The width setting unit 635 sets the width of the detection range of the piston 402 in the cylinder block sensor 103. The range setting unit 634 and the width setting unit 635 can operate even when the cylinder block sensor 103 does not include the symbol display 505. In this case, the OLED display 630 functions as the symbol display 505.

[0036] The display control unit 616 controls the illumination and extinguishing of the indicator light 614 and displays information on the OLED display 630. For example, the display control unit 616 can cause the OLED display 630 to display a position symbol indicating the position of the piston 402 based on the position information of the piston 402 output from the cylinder block sensor 103. Furthermore, the display control unit 616 can display a range symbol indicating the detection range on the OLED display 630 based on range information indicating the detection range of the piston 402. The position symbol and range symbol can be displayed in conjunction with both the cylinder block sensor 103 and the relay amplifier 104. This is because the relay amplifier 104 can obtain the position information of the piston 402 and the range information of the detection range from the cylinder block sensor 103.

[0037] The output unit 617 generates an output signal corresponding to the detection result received from the cylinder block sensor 103 and outputs the output signal to the valve system 101. The output unit 617 can transmit various information received from the cylinder block sensor 103 to the valve system 101.

[0038] 5. Demonstration (Installation of cylinder block sensor) Figure 7A This example illustrates the display state when power is supplied to the cylinder block sensor 103 from the outside and the cylinder block sensor 103 is activated. The power LED 204 indicates that power is supplied to the cylinder block sensor 103 (power on state). Note that multiple LEDs 305 can display symbols indicating that this immediately follows power on. For example, multiple LEDs 305 can be controlled to sequentially switch the LEDs 305 to be illuminated. As a result, light can be output like a wave moving from right to left. Note that multiple LEDs 305 can continuously display symbols indicating that this immediately follows power on until the position specifying unit 512 can specify the position of the piston 402. Alternatively, after the symbols have been displayed for a certain period of time, multiple LEDs 305 can be turned off simultaneously.

[0039] Figure 7BThis example illustrates the state of the position of piston 402 specified by position designator 512. Of the plurality of LEDs 305, only the LED 305 corresponding to the position of piston 402 is illuminated. Here, the LEDs 305 can be illuminated in a first color (e.g., green). Note that when the user moves cylinder sensor 103 relative to cylinder 102, the plurality of LEDs 305 illuminate or extinguish to follow the position of piston 402. That is, only the LED 305 corresponding to the position of piston 402 can be illuminated. Note that all LEDs 305 present to the right of the position of piston 402 can be illuminated. Alternatively, all LEDs 305 present to the left of the position of piston 402 can be illuminated. As a result, the position of piston 402 can be displayed by a bar symbol.

[0040] Figure 7C This example illustrates the case where there is no LED 305 corresponding to the position of the piston 402 specified by the position designation unit 512, or when the piston 402 is outside the detectable range of the cylinder sensor 103. In this example, since there is no LED 305 corresponding to the position of the piston 402, only the outermost leftmost LED 305 of the plurality of LEDs 305 can be illuminated. The leftmost LED 305 can be illuminated in a second color (e.g., red) or flash in a first or second color to indicate that the piston 402 is outside the detectable range.

[0041] Figure 8A The illustration shows the symbols in the case where a first detection range 801 and a second detection range 802 have been set via teaching. In this example, three LEDs 305 are assigned to each of the first detection range 801 and the second detection range 802. The three LEDs 305 assigned to the first detection range 801 can indicate the position and width of the first detection range 801, for example, by lighting it in a third color (e.g., blue). The three LEDs 305 assigned to the second detection range 802 can indicate the position and width of the second detection range 802, for example, by lighting it in a fourth color (e.g., orange).

[0042] exist Figure 8A In this system, a piston 402 exists within an intermediate range between the first detection range 801 and the second detection range 802. Therefore, among the multiple LEDs 305 present within this intermediate range, only one LED 305 corresponding to the position of the piston 402 is illuminated. Here, the LED 305 can be illuminated in a first color (e.g., green).

[0043] Figure 8BThe symbol is illustrated when piston 402 is present within the first detection range 801. In this example, piston 402 is located in the center of the first detection range 801. Therefore, of the three LEDs 305 corresponding to the first detection range 801, the central LED 305 is illuminated in a different color (e.g., white) than the other two LEDs 305. As described above, the color used to indicate the first detection range 801 is different from the color used to indicate the position of piston 402, allowing the user to clearly identify the position of piston 402. Note that when piston 402 is present within the first detection range 801, the LED 305 corresponding to the position of piston 402 may blink. When blinking in this manner, the illumination color of the LED 305 corresponding to the position of piston 402 may be different from or the same as the illumination color of the other two LEDs 305.

[0044] according to Figure 8B In addition, the first output LED 205 is illuminated. This indicates that the position of the piston 402 is within the first detection range 801 and outputs a first output signal (the first output signal is high). The logic (high / low) of the output signal can be set by the user. Therefore, the logic of the output signal depends on the user setting.

[0045] Figure 8C The illustration shows the symbol when piston 402 is present within the second detection range 802. According to this example, piston 402 is located in the center of the second detection range 802. Therefore, of the three LEDs 305 corresponding to the second detection range 802, the central LED 305 is illuminated in a different color (e.g., white) than the other two LEDs 305. As described above, the color used to indicate the second detection range 802 is different from the color used to indicate the position of piston 402, allowing the user to clearly identify the position of piston 402. Note that when piston 402 is present within the second detection range 802, the LED 305 corresponding to the position of piston 402 may blink. When blinking in this manner, the illumination color of the LED 305 corresponding to the position of piston 402 may be different from or the same as the illumination color of the other two LEDs 305.

[0046] according to Figure 8C In addition, the second output LED 206 is illuminated. This indicates that the position of the piston 402 is within the second detection range 802 and outputs a second output signal (the second output signal is high).

[0047] Here, the first output LED 205 and the second output LED 206 are illustrated, but a third output LED, a fourth output LED, and so on can be installed.

[0048] 6. Display the flowchart of the control method. Figure 9 An example of a display control method executed by the CPU 501 of the cylinder block sensor 103 according to the control program 521 is shown. When power is supplied from the relay amplifier 104 to activate the CPU 501, the following processes are performed.

[0049] In S901, the CPU 501 (display control unit 516) refers to the setting information stored in the memory 502 and determines whether one or more detection ranges are set. If no one or more detection ranges are set, the CPU 501 skips S902 and proceeds to S903. If one or more detection ranges are set, the CPU 501 proceeds to S902.

[0050] In S902, the CPU 501 (display control unit 516) illuminates the LED 305 corresponding to the detection range. A table indicating the relationship between the detection range and the identification information of the LED 305 can be stored in the memory 502. Identification numbers can be assigned to N LEDs 305 in ascending order from the LEDs 305 on the right to the LEDs 305 on the left. In this case, the identification information of the LEDs 305 can be identification numbers. The setting information can include color information indicating the illumination color of the LED 305 corresponding to the i-th detection range. Based on the color information, the CPU 501 illuminates Mi LEDs 305 corresponding to the i-th detection range with the color corresponding to the color information. Mi is a variable indicating the width of the i-th detection range and corresponds to the number of LEDs 305 to be illuminated.

[0051] In S903, the CPU 501 (position designation unit 512) performs a position calculation to designate the position of the piston 402 based on the detection results of multiple Hall elements 304. The position calculation can be a calculation to designate the position corresponding to the Hall element 304 that outputs the largest detection signal among the multiple Hall elements 304. Alternatively, the position of the piston 402 can be calculated by performing a weighted calculation or interpolation calculation on the magnitudes of the detection signals output from the multiple Hall elements 304. In the latter case, the position is identified with finer precision.

[0052] In S904, the CPU 501 (position assignment unit 512 or display control unit 516) determines whether the position of the piston 402 has been assigned. For example, if the cylinder block sensor 103 is not attached to the cylinder 102, the position calculation fails. On the other hand, if the cylinder block sensor 103 is correctly attached to the cylinder 102, the position calculation succeeds. If the position of the piston 402 has not yet been assigned, the CPU 501 proceeds to S905. In S905, the CPU 501 (display control unit 516) uses multiple LEDs 305 to display a symbol indicating that a position is being assigned. Afterward, the CPU 501 returns from S905 to S903 and continues the position calculation. On the other hand, if the position of the piston 402 has been assigned, the CPU 501 proceeds to S906.

[0053] In S906, CPU 501 (position designation unit 512 or display control unit 516) determines the LED 305 corresponding to the position of piston 402. Memory 502 stores a table indicating the correspondence between the position of piston 402 and the identification number of LED 305. CPU 501 refers to this table to assign the identification number of LED 305 corresponding to the position of piston 402.

[0054] In S907, CPU 501 (position designation unit 512 or display control unit 516) determines whether an LED 305 corresponding to the position of piston 402 exists. If an LED 305 corresponding to the position of piston 402 exists, CPU 501 proceeds to S908. In S908, CPU 501 (display control unit 516) illuminates the LED 305 corresponding to the position of piston 402. Then, CPU 501 proceeds from S908 to S909. On the other hand, an LED 305 corresponding to the position of piston 402 may not exist. For example, as... Figure 7C As illustrated, when the position of piston 402 is specified and then moves further, the position of piston 402 may become unspecifiable. In this case, CPU 501 proceeds from S907 to S920. In S920, CPU 501 (display control unit 516) illuminates the outermost LED 305 among the plurality of LEDs 305. For example, the last illuminated leftmost or rightmost LED 305 can be determined to be the LED 305 corresponding to the position of piston 402. Furthermore, CPU 501 selects a color indicating that position detection has failed or a color indicating that piston 402 is outside the detectable range as the illumination color of the last illuminated leftmost or rightmost LED 305. Afterward, CPU 501 proceeds from S920 to S912.

[0055] In S909, the CPU 501 (position designation unit 512 or display control unit 516) determines whether the position of the piston 402 is within the detection range. Here, the position of the piston 402 is compared with the first detection range 801 and the second detection range 802 included in the setting information. If the position of the piston 402 is not within any detection range, the CPU 501 moves from S909 to S912. If the position of the piston 402 is within any detection range, the CPU 501 moves from S909 to S910.

[0056] In S910, the CPU 501 (display control unit 516) illuminates the output LEDs corresponding to the detection ranges, including the position of piston 402, among a plurality of detection ranges. When piston 402 is within the first detection range 801, the first output LED 205 illuminates. When piston 402 is within the second detection range 802, the second output LED 206 illuminates. When piston 402 is within the j-th detection range, the LED corresponding to the j-th detection range and the j-th output signal illuminates.

[0057] In step S911, the CPU 501 (output unit 517) outputs an output signal from a plurality of output signals (control outputs) to the repeater amplifier 104 that corresponds to the detection range including the position of the piston 402. If the piston 402 is within the first detection range 801, a first output signal is output. If the piston 402 is within the second detection range 802, a second output signal is output. If the piston 402 is within the j-th detection range, a j-th output signal is output.

[0058] In S912, CPU 501 determines whether the power supply is disconnected (whether the power supply from repeater amplifier 104 has stopped). When the power supply is not disconnected, CPU 501 returns from S912 to S903. When the power supply is disconnected, the display control method ends.

[0059] 7. Flowchart of the setup method Figure 10AThis example illustrates an operation for attaching cylinder sensor 103 to cylinder 102 and installing cylinder sensor 103 in a desired position. The user pushes and pulls piston rod 401 to install piston 402 in the desired position in cylinder 102. The user inserts cylinder sensor 103 into slot 131 of cylinder 102 and slides cylinder sensor 103 in slot 131 to position cylinder sensor 103. According to this example, among a plurality of LEDs 305, the leftmost LED 305 corresponding to the position of piston 402 is illuminated. Note that the order of execution of the temporary installation of cylinder sensor 103 in cylinder 102 and the positioning of piston rod 401 can be reversed. In any case, fine-tuning of the position of cylinder sensor 103 will be performed as follows.

[0060] Figure 10B For example, cylinder block sensor 103 is moved further to the left. Note that cylinder 102 moves relatively to the right relative to cylinder block sensor 103. CPU 501 detects the position of piston 402 and illuminates the second LED 305 from the left corresponding to the position of piston 402. When piston 402 is positioned at the desired location, the user presses and holds operation button 202. The holding period is, for example, 2 seconds. CPU 501 can measure the duration of pressing operation button 202 and specify the user's instruction based on the measured duration. Memory 502 can store a table for the relationship between the indication time and the indication. CPU 501 specifies the user's instruction based on the measured time using the reference table.

[0061] When the long press of the operation button 202 is detected by the operation switch 303, the CPU 501 (setting unit 513) switches from operation mode to setting mode.

[0062] like Figure 10C As illustrated, in setup mode, CPU 501 illuminates some LEDs 305 to display a symbol indicating that setup mode is in progress. This symbol could, for example, cause the four rightmost LEDs of a plurality of LEDs 305 to blink. The illuminated LEDs 305 can be switched sequentially from right to left.

[0063] CPU 501 illuminates Mi LEDs 305 corresponding to the i-th detection range based on the position of piston 402 detected by Hall element 304 and the width of the detection range. In this example, the width Mi of the i-th detection range is set to 3. Therefore, one LED 305 corresponding to the position of piston 402, the LED 305 to its right, and the LED 305 to its left are illuminated. As a result, the user can visually identify the detection range. The user can further slide cylinder sensor 103 while checking that Mi LEDs 305 corresponding to the i-th detection range are illuminated. As a result, upon confirming the position of the i-th detection range, the user presses and holds operation button 202. The holding period is, for example, 2 seconds.

[0064] Figure 11A The example indicates a symbol confirming the detection range. According to this example, CPU 501 simultaneously illuminates all of the multiple LEDs 305 to display the confirmation symbol.

[0065] Figure 11B An example is shown indicating that the detection range setting is complete. According to this example, the CPU 501 displays the setting completion symbol by causing one of the plurality of LEDs 305 located at the center of the set detection range to flash for a predetermined time. Note that... Figure 11B The exemplified symbols can be found in Figure 11A The illustrated symbols may be displayed later, or only one of these symbols may be displayed. Alternatively, the symbol may be displayed even after the predetermined time has elapsed, during the pressing of operation button 202. Figure 11A The confirmation symbol is shown. Afterwards, when the finger is released from operation button 202, it can be displayed. Figure 11B The setting completion symbol in the middle.

[0066] Figure 11C Example in Figure 11B The illustrated setup completion symbol indicates the status after a predetermined time. Here, a symbol is displayed to indicate the set detection range. That is, the CPU 501 has switched from setup mode to operation mode.

[0067] Figure 12 This is a flowchart illustrating a method for setting the detection range executed by CPU 501 according to control program 521. Memory 502 can store a variable h indicating the number of set detection ranges. If no detection range is set, zero is substituted into variable h. If a detection range is set, 1 is substituted into variable h.

[0068] In S1201, CPU 501 (setting unit 513) determines whether a setting start operation has been input. The setting start operation can be, for example, the operation button 202 being pressed continuously in operation mode for a predetermined time (e.g., 2 seconds). The setting start operation can also be a double-click of the operation button 202.

[0069] In S1202, the CPU 501 (display control unit 516) uses multiple LEDs 305 to display symbols in the settings. For example, it can display symbols such as... Figure 10C The symbols in the illustrated settings.

[0070] In S1203, the CPU 501 (position designation unit 512) performs position calculations to designate the position of the piston 402 based on the detection results of the Hall element 304.

[0071] In S1204, the CPU 501 (position designation unit 512 or display control unit 516) determines the LED 305 corresponding to the position of the piston 402.

[0072] In S1205, CPU 501 (position designation unit 512 or display control unit 516) determines whether there is an LED 305 corresponding to the position of piston 402. The cylinder sensor 103 may not yet be installed in cylinder 102, or piston 402 may be outside the detectable range. In this case, it is determined that there is no corresponding LED 305, and CPU 501 returns from S1205 to S1202. If there is a corresponding LED 305, CPU 501 proceeds from S1205 to S1206.

[0073] In S1206, the CPU 501 (display control unit 516) illuminates the corresponding LED 305 and adjacent LEDs 305. As described above, Mi LEDs 305 corresponding to the width of the detection range are illuminated.

[0074] In step S1207, CPU 501 (range setting unit 514) determines whether a confirmation operation for the detection range has been input to operation button 202. If no confirmation operation is input, CPU 501 returns from S1207 to S1202. If a confirmation operation is input, CPU 501 proceeds from S1207 to S1208.

[0075] In S1208, the CPU 501 (display control unit 516) uses multiple LEDs 305 to display an confirmation symbol. For example, the confirmation symbol could be... Figure 11A The symbol illustrated.

[0076] In S1209, the CPU 501 (display control unit 516) uses multiple LEDs 305 to display a setting completion symbol. For example, the setting completion symbol could be... Figure 11B The symbol illustrated.

[0077] In S1210, the CPU 501 (range setting unit 514) stores setting information for indicating the i-th detection range in the memory 502. Here, i is obtained by incrementing the variable h by 1. The setting information may include position information for indicating the position of the i-th detection range and width information for indicating the width (initial value or a value set by the user). Here, the position information indicates at least one of the left end, center, and right end of the detection range. The range setting unit 514 may assign a lighting color not assigned to any of the detection ranges from the first detection range to the (i-1)-th detection range to the i-th detection range, and store color information for indicating the lighting color in the setting information.

[0078] In S1211, the CPU 501 (range setting unit 514) updates the variable h, which indicates the number of detection ranges that have been set. That is, it adds 1 to the value of variable h. Alternatively, variable i can be substituted into variable h.

[0079] Figure 13 This is a flowchart illustrating a method for batch deleting a set detection range.

[0080] In step S1301, CPU 501 (setting unit 513) determines whether a batch deletion operation has been input to operation button 202. For example, in operation mode, when operation button 202 is pressed continuously for a predetermined time (e.g., 3 seconds), or when operation button 202 is pressed 3 times, CPU 501 can determine that a batch deletion has been indicated. An upper limit value can be determined for the number of detection ranges. In this case, the batch deletion operation can be when the number of the set detection ranges is consistent with the upper limit value, and a long press of operation button 202 is detected. When a batch deletion is indicated, CPU 501 moves from S1301 to S1302.

[0081] In S1302, CPU 501 (range setting unit 514) deletes the set detection range. For example, CPU 501 deletes the information of all set detection ranges from the setting information stored in memory 502.

[0082] In S1303, the CPU 501 (range setting unit 514) resets the number h of the set detection range to 0.

[0083] 8. Setting the width of the detection range Figure 14A and Figure 14B This example illustrates an operation where the width of the detection range is set in the setting mode. The setting of the detection range width can, for example, be included in S1206.

[0084] Figure 14A This example shows the width Mi set to 3. Figure 14B For example, the width Mi is set to 5. For instance, when multiple selectable widths exist, each short press of the operation button 202 causes the CPU 501 (width setting unit 515 and display control unit 516) to switch the width and turn adjacent LEDs corresponding to that width on and off. For example, when... Figure 14A When the width Mi is 3 as shown in the example, a short press of operation button 202 will result in... Figure 14B As shown in the example, the width Mi changes to 5. When in, for example Figure 14B When the width Mi is 5 as shown in the example, a short press of operation button 202 will result in... Figure 14A As shown in the example, the width Mi is changed to 3. In this way, multiple width values ​​can be switched while looping. There can be three or more selectable widths. Similarly, in this case, the width values ​​switch while looping.

[0085] 9. Distance display in repeater amplifiers Figure 15 An example is shown of the image displayed on the OLED display 630 of the relay amplifier 104. The relay amplifier 104 can receive information from the cylinder sensor 103 indicating the detection range (threshold) and information indicating the detection position of the piston 402. Furthermore, the relay amplifier 104 can receive a first output signal, a second output signal, and an i-th output signal.

[0086] like Figure 15 As illustrated, the distance display area 1501 is the area where the position of the piston 402 is displayed as a distance relative to a reference position. The distance display area 1501 can display the unit of distance (e.g., mm).

[0087] The threshold display area 1502 indicates the threshold value for each detection range (output signal). In this example, the threshold value for the first output signal corresponding to the first detection range 801 is 1056.50 mm. Here, the threshold value can be any one of the right, center, or left end of the first detection range 801. The threshold value for the second output signal corresponding to the second detection range 802 is also exemplified as 36.20 mm.

[0088] The output identification area 1503 is the area that displays which of the first and second output signals is being output. In other words, the output identification area 1503 can indicate which detection range the piston 402 is within. For example, if the piston 402 is within the first detection range 801, the output identification area 1503 can be illuminated in blue. If the piston 402 is within the second detection range 802, the output identification area 1503 can be illuminated in orange. If the piston 402 is within the intermediate range between the first and second detection ranges 801 and 802, the output identification area 1503 can display other colors (e.g., black, white, green).

[0089] 10. Examples of other symbols Figure 16A and Figure 16B Here are some other examples of symbols used to indicate the position of piston 402. It is assumed that the reference position is set on the left side of cylinder block sensor 103. When the position of piston 402 is detected, CPU 501 illuminates all LEDs 305 present from the left end to the detection position. The user can identify the distance the piston 402 has moved relative to the reference position based on the number of illuminated LEDs 305. A symbol indicating the position of piston 402 can be implemented as a bar whose length changes in this way according to the distance moved.

[0090] According to the above embodiment, a plurality of LEDs 305 are arranged directly below the display window 203, but this is merely an example. For example, a light guide (e.g., optical fiber, light-transmitting resin) can be configured between the plurality of LEDs 305 configured on the control board 302 and the display window 203. This would increase the flexibility in the installation of the plurality of LEDs 305.

[0091] Figure 17 Other examples of symbols used to indicate the position of piston 402 are shown. OLED display 630 indicates the position 1701 of analog LED 305, which indicates the position of piston 402, first detection range 801, and second detection range 802. As described above, OLED display 630 can be used instead of multiple LEDs 305. OLED display 630 can be a liquid crystal display.

[0092] Figure 18Other examples of symbols used to indicate the position of piston 402, first detection range 801, and second detection range 802 are shown below. Bar symbol 1801 is an image used to indicate the position of piston 402. CPU 501 extends or shortens bar symbol 1801 according to the position of piston 402. Range symbols 1802 and 1803 are images used to indicate the boundaries of the detection ranges. CPU 501 can display range symbols 1802 and 1803 to indicate the detection ranges based on the position and width information of the detection ranges included in the setting information stored in memory 502.

[0093] Note that the OLED display 630 can also display the first output LED 205 and the second output LED 206 as images.

[0094] 12. Details of the display control method in a repeater amplifier In the above embodiments, the display control method in the cylinder block sensor 103 has been mainly described. Furthermore, as shown in the above embodiments, instead of displaying symbols in the cylinder block sensor 103 or in conjunction with the display of symbols in the cylinder block sensor 103, the relay amplifier 104 and the display panel 105 can display symbols. Displaying symbols related to the position of the displacement body using the relay amplifier 104 and the display panel 105 may be particularly useful when the cylinder block sensor 103 does not have a display function or when the display function has limited display capability. The user interface (UI) in the relay amplifier 104 will be described below, but this UI can also be used in the display panel 105.

[0095] Figures 19A to 19C An example of a display screen on an OLED display 630 disposed in the housing 1900 of the repeater amplifier 104 is shown. The OLED display 630 is merely an example, and a liquid crystal display (LCD) may also be used. In this example, the OLED display 630 displays multiple position icons (position symbols 1701) simulating LED 305, a power symbol 1904 simulating power LED 204, a first output symbol 1905 simulating the first output LED 205, and a second output symbol 1906 simulating the second output LED 206.

[0096] When position information indicating the position of piston 402 detected by cylinder block sensor 103 is received from cylinder block sensor 103, the display control unit 616 of relay amplifier 104 changes the position symbol 1701 corresponding to the position information from a default color (e.g., white, black) to a first color (e.g., green). Figure 19AIn the middle, since piston 402 is located at the left end of the displaceable range, the color of position symbol 1701, which is configured at the left end among multiple position symbols, turns green. According to Figure 19B Since piston 402 is located in the middle position, the position symbol configured in the middle position among the multiple position symbols is colored green. According to... Figure 19C Since the piston 402 is located at the right end of the movable range, the position symbol 1701 located at the right end among the multiple position symbols 1701 is colored green. In this way, the position symbols 1701 located at different positions according to the position of the piston 402 can be displayed in a different color than the other position symbols 1701.

[0097] Figures 20A to 20C Examples include position symbols 1701 and threshold symbols when setting the first detection range 801 and the second detection range 802 using cylinder block sensor 103 or repeater amplifier 104. Here, the threshold symbol is a concept that can include a plurality of position symbols 1701 such as a position symbol 1701 indicating the first detection range 801 and the second detection range 802, a position symbol 1701 indicating the presence of piston 402 within the first detection range 801 or a first output symbol 1905, and a position symbol 1701 indicating the presence of piston 402 within the second detection range 802 or a second output symbol 1906, etc. As described above, the detection range can be defined by position (threshold) and width. Therefore, these symbols can be referred to as threshold symbols.

[0098] according to Figure 20A The display control unit 616, based on setting information received from the cylinder block sensor 103 or setting information stored in the memory 602, displays the position symbol 1701 corresponding to the first detection range 801 in a third color (e.g., blue), and displays the position symbol 1701 corresponding to the second detection range 802 in a fourth color (e.g., orange). Here, the illumination colors of the plurality of LEDs 305 corresponding to the detection ranges in the cylinder block sensor 103 and the display colors of the position symbols on the repeater amplifier 104 used to indicate the detection ranges can be the same or different from each other. Figure 20A Since the piston 402 is in the middle position, the position symbol corresponding to the middle position is displayed in the first color. Since the position of the piston 402 is not included in the first detection range 801, the display control unit 616 displays the first output symbol 1905 in the default color. Since the position of the piston 402 is not included in the second detection range 802, the display control unit 616 displays the second output symbol 1906 in the default color.

[0099] Figure 20BThis illustrates that piston 402 has moved to a position included within the first detection range 801. Based on the position information received from cylinder sensor 103, display control unit 616 changes the color of the position symbol 1701 corresponding to the position of piston 402 among a plurality of position symbols 1701 corresponding to the first detection range 801 to a different color than the color of adjacent position symbols 1701. As a result, the position of the first detection range 801 and the position of piston 402 are displayed in a distinguishable manner. Display control unit 616 switches the color of the first output symbol 1905 from a default color to a third color (e.g., blue) based on a first output signal output from cylinder sensor 103. As a result, the user can identify that piston 402 is within the first detection range 801 and that the first output signal is output from cylinder sensor 103.

[0100] Figure 20C This illustrates that piston 402 has moved to a position included within the second detection range 802. Based on the position information received from cylinder sensor 103, display control unit 616 changes the color of the position symbol corresponding to the position of piston 402 among a plurality of position symbols corresponding to the second detection range 802 to a different color than the adjacent position symbols. As a result, the position of the second detection range 802 and the position of piston 402 are displayed in a distinguishable manner. Display control unit 616 switches the color of the second output symbol 1906 from the default color to a fourth color (e.g., orange) based on the second output signal output from cylinder sensor 103. As a result, the user can identify that piston 402 is located within the second detection range 802 and that the second output signal is output from cylinder sensor 103.

[0101] Figures 21A to 21C This example illustrates the position symbol implemented using bar symbol 1801. (Already referenced...) Figure 18 The cylinder block sensor 103 is described as being able to display position symbols (bar symbols 1801) and threshold symbols (range symbols 1802 and 1803). Similarly, the relay amplifier 104 can display bar symbols 1801 and threshold symbols (range symbols 1802 and 1803).

[0102] Figure 21A The bar symbol 1801 is illustrated when the piston 402 is in the middle position. Bar symbol 1801 is a bar image of variable length. Range symbols 1802 and 1803 are threshold symbols used to indicate the detection range. In this example, range symbols 1802 and 1803 are illustrated by vertical lines, but can be images other than vertical lines. Range symbols 1802 and 1803 can, for example, be images such as arrows or triangles indicating the width and threshold of the detection range.

[0103] Figure 21BAn example is the bar symbol 1801 when the position of piston 402 is included within the first detection range 801. In this example, since the reference position of bar symbol 1801 is set on the left end side, the length of bar symbol 1801 is shortened. Furthermore, since the first output signal is output, the first output symbol 1905 is displayed in the second color.

[0104] Figure 21C The bar symbol 1801 is illustrated when the position of piston 402 is included within the second detection range 802. In this example, the length of bar symbol 1801 is increased. Because a second output signal is output, the second output symbol 1906 is displayed in a third color.

[0105] Since the repeater amplifier 104 also includes an operation switch 605, the detection range (threshold, width) can be set by operating the operation switch 605. That is, the operation switch 605 is used instead of the operation button 202.

[0106] Figure 22 An example of a display control method executed by the CPU 601 of the relay amplifier 104 according to the control program 621 is shown. When the CPU 601 is activated using power supplied from the valve system 101, the following processes are performed.

[0107] In S2201, the CPU 601 (display control unit 616) refers to the setting information stored in the memory 602 and determines whether one or more detection ranges are set. The CPU 601 obtains the setting information from the cylinder block sensor 103 and pre-stores the setting information in the memory 602. When no one or more detection ranges are set, the CPU 601 skips S2202 and proceeds to S2203. When one or more detection ranges are set, the CPU 601 proceeds to S2202.

[0108] In S2202, the CPU 601 (display control unit 616) displays a threshold symbol at a position corresponding to the detection range. The threshold symbol can be implemented by multiple position symbols 1701, by bar symbols 1801, or by range symbols 1802 and 1803. The setting information may include color information indicating the display color of the threshold symbol corresponding to the i-th detection range. The CPU 601 uses the color information to cause the OLED display 630 to display the threshold symbol corresponding to the i-th detection range in a color corresponding to that color information. The setting information may include a variable Mi indicating the width of the i-th detection range. The CPU 601 adjusts the width of the threshold symbol based on the variable Mi.

[0109] In S2203, the CPU 601 (position designation unit 618) acquires position information from the cylinder block sensor 103. Here, the position information may be a numerical value indicating the position of the piston 402, or it may be raw data of the detection results of multiple Hall elements 304. In the latter case, the position designation unit 618 designates the position of the piston 402 by performing the same position calculation as the position designation unit 512.

[0110] In S2204, the CPU 601 (position designation unit 618 or display control unit 616) determines whether the acquisition of position information has been completed. For example, if the cylinder block sensor 103 is not attached to the cylinder 102, the position calculation fails, and the acquisition of position information also fails. On the other hand, if the cylinder block sensor 103 is correctly attached to the cylinder 102, the position calculation succeeds, and the position information is successfully acquired. If the position information has not yet been acquired, the CPU 601 proceeds to S2205. In S2205, the CPU 601 (display control unit 616) uses multiple position symbols 1701 to display symbols indicating that position information is being acquired. Afterward, the CPU 601 returns from S2205 to S2203 and continues to acquire position information. On the other hand, if the position information of the piston 402 has been acquired, the CPU 601 proceeds to S2207.

[0111] In step S2207, the CPU 601 (position designation unit 618 or display control unit 616) determines whether the position symbol 1701 can be displayed at the display position corresponding to the position of the piston 402. If the position symbol 1701 can be displayed on the screen of the OLED display 630, the CPU 601 proceeds to step S2208. In step S2208, the CPU 601 (display control unit 616) displays the position symbol 1701 at the display position corresponding to the position of the piston 402. Afterwards, the CPU 601 proceeds from S2208 to S2209. On the other hand, if the position symbol 1701 cannot be displayed at the display position corresponding to the position of the piston 402, the CPU 601 proceeds from S2207 to S2220. In S2220, the CPU 601 (display control unit 616) displays the position symbol 1701 on the outermost side of the OLED display 630. Furthermore, CPU 601 selects either the color indicating a failed position detection or the color indicating that piston 402 is outside the detectable range as the illumination color for position symbol 1701. CPU 601 can also cause position symbol 1701 to blink. Afterwards, CPU 601 transitions from S2220 to S2212.

[0112] In S2209, the CPU 601 (position designation unit 618 or display control unit 616) determines whether the position of the piston 402 is within the detection range. Here, the position of the piston 402 is compared with the first detection range 801 and the second detection range 802 included in the setting information. If the position of the piston 402 is not within any detection range, the CPU 601 proceeds from S2209 to S2212. If the position of the piston 402 is within any detection range, the CPU 601 proceeds from S2209 to S2210.

[0113] In S2210, the CPU 601 (display control unit 616) illuminates the output symbols corresponding to the detection ranges, including the position of piston 402, among the multiple detection ranges. When piston 402 is within the first detection range 801, the first output symbol 1905 illuminates. When piston 402 is within the second detection range 802, the second output symbol 1906 illuminates. When piston 402 is within the j-th detection range, the output symbol corresponding to the j-th detection range and the j-th output signal illuminates.

[0114] In S2211, the CPU 601 (output unit 617) outputs a signal from a plurality of output signals (control outputs) to the valve system 101 that corresponds to the detection range including the position of the piston 402. When the piston 402 is within the first detection range 801, a first output signal is output. When the piston 402 is within the second detection range 802, a second output signal is output. When the piston 402 is within the j-th detection range, a j-th output signal is output.

[0115] In S2212, CPU 601 determines whether the power supply is disconnected (whether the power supply from repeater amplifier 104 has stopped). When the power supply is not disconnected, CPU 601 returns from S2212 to S2203. When the power supply is disconnected, the display control method ends.

[0116] Figure 23 This is a flowchart illustrating a method for setting the detection range executed by CPU 601 according to control program 621. Memory 602 can store a variable h indicating the number of set detection ranges. If no detection range is set, zero is substituted into variable h. If a detection range is set, 1 is substituted into variable h.

[0117] In S2301, CPU 601 (setting unit 613) determines whether a setting start operation has been input. The setting start operation can be, for example, continuously pushing the operation switch 605 down for a predetermined time (e.g., 2 seconds) in operation mode. The setting start operation can also be a double-click operation switch 605.

[0118] In S2302, CPU 601 (display control unit 616) displays symbols in the settings. For example, it can display symbols such as... Figure 10C The illustrated symbols in the settings section. These symbols include at least one of an image or characters indicating that settings are in progress. In S2303, the CPU 601 (position designation unit 618) obtains position information from the cylinder sensor 103 to indicate the position of the piston 402.

[0119] In S2304, the CPU 601 (position designation unit 618 or display control unit 616) displays a threshold symbol based on the position information. The threshold symbol is configured at a display position on the OLED display 630 corresponding to the current position of the piston 402. The width of the threshold symbol is an initial value.

[0120] In S2305, CPU 601 (position designation unit 618 or display control unit 616) determines whether a width change operation has been input to operation switch 605. A width change operation could be, for example, a short press of operation switch 605. If no width change operation is input, CPU 601 moves from S2305 to S2307. If a width change operation is input, CPU 601 moves from S2305 to S2306.

[0121] In S2306, CPU 601 (display control unit 616) changes the width of the threshold symbol (detection range) by approximately one step. As described above, the width can be changed cyclically each time an input width change operation occurs. For example, the width can be as follows: That cycle continues.

[0122] In step S2307, CPU 601 (range setting unit 634) determines whether a confirmation operation for the detection range has been input to operation switch 605. If no confirmation operation is input, CPU 601 returns from S2307 to S2302. If a confirmation operation is input, CPU 601 proceeds from S2307 to S2308.

[0123] In S2308, CPU 601 (display control unit 616) uses multiple position symbols 1701 to display an confirmation symbol. For example, the confirmation symbol could be... Figure 11A The illustrated symbol. A confirmation symbol can be an image or character used to indicate confirmation.

[0124] In S2309, CPU 601 (display control unit 616) uses multiple position symbols to display a setting completion symbol. For example, the setting completion symbol could be... Figure 11BThe illustrated symbol. A completion symbol can be an image or character used to indicate completion.

[0125] In S2310, the CPU 601 (range setting unit 634) stores setting information for indicating the i-th detection range in the memory 602 and transmits the setting information to the cylinder block sensor 103. The CPU 501 of the cylinder block sensor 103 receives the setting information and stores it in the memory 502. Here, i is obtained by adding 1 to the variable h. The setting information may include position information for indicating the position of the i-th detection range and width information for indicating the width (initial value or value set by the user). Here, the position information indicates at least one of the left end, center, and right end of the detection range. The range setting unit 634 may assign a lighting color not assigned to any of the detection ranges from the first detection range to the (i-1)-th detection range to the i-th detection range and store color information for indicating the lighting color in the setting information.

[0126] In S2311, CPU 601 (range setting unit 634) updates the variable h, which indicates the number of detection ranges that have been set. That is, it adds 1 to the value of variable h. Alternatively, variable i can be substituted into variable h.

[0127] Figure 24 This is a flowchart illustrating a method for batch deleting a set detection range.

[0128] In step S2401, CPU 601 (setting unit 613) determines whether a batch deletion operation has been input to operation switch 605. For example, when operation switch 605 is continuously pressed for a predetermined time (e.g., 3 seconds), or when operation switch 605 is pressed 3 times in operation mode, CPU 601 can determine that a batch deletion has been indicated. An upper limit value can be determined for the number of detection ranges. In this case, the batch deletion operation can be when the number of set detection ranges is consistent with the upper limit value, and a long press of operation switch 605 is detected. When a batch deletion is indicated, CPU 601 proceeds from S2401 to S2402.

[0129] In S2402, the CPU 601 (range setting unit 634) deletes the set detection range from the memory 602 and sends a deletion instruction to the cylinder block sensor 103. When the deletion instruction is received, the CPU 501 of the cylinder block sensor 103 deletes all set detection range information from the setting information stored in the memory 502.

[0130] In S2403, CPU 601 (range setting unit 634) resets the number h of the set detection range to 0.

[0131] 15. Display control methods in the display panel 15-1. Structure of the display panel Figure 25 The structure of the display panel 105 is illustrated. The display panel 105 includes a housing 2500. The housing 2500 houses and protects various components.

[0132] The CPU 2501 performs various functions by executing the control program 2521 stored in the memory 2502. The memory 2502 includes ROM and RAM, etc. The communication circuit 2504 is a circuit that is connected to the valve system 101 via an Ethernet cable and sends and receives signals according to a predetermined communication protocol. The power terminal 2507 is a terminal for receiving power supplied from the valve system 101. In the case of Power over Ethernet (PoE), the power terminal 2507 is used as part of the RJ45 connector. The registration jack (RJ) 45 is a standard registered with the Federal Communications Commission (FCC).

[0133] When the display panel 105 is powered on and activated, the communication control unit 2511 assigns itself a predetermined IP address and attempts to connect to the valve system 101, which has been pre-assigned another predetermined IP address. IP is an abbreviation for Internet Protocol. When the connection is successful, the communication control unit 2511 can obtain various information from the cylinder sensor 103 via the valve system 101 and the repeater amplifier 104. This information includes position information for indicating the position of the piston 402, setting information for indicating the position and width of the detection range, information for indicating the correspondence between the detection range and the output signal, and model information and identification information of the cylinder sensor 103, etc.

[0134] Touch sensor 2505 detects touch from a human finger or a stylus (touch pen). OLED display 2530 displays information acquired from valve system 101, repeater amplifier 104, and cylinder sensor 103, and displays a setup screen for setting these parameters. Display control unit 2516 uses screen template 2522 stored in memory 2502 to display the setup screen and operation screen on OLED display 2530. The operation screen may display, for example, a position symbol 1701 indicating the position of piston 402 detected by cylinder sensor 103 and a threshold symbol indicating the detection range.

[0135] Setting unit 2513 is an option and performs setting processes similar to those of setting units 513 and 613. Range setting unit 2534 sets the position of the detection range of cylinder block sensor 103 (e.g., threshold). Width setting unit 2535 sets the width of the detection range.

[0136] 15-2. Operation Screen Figure 26 An example of the operation screen displayed on the display panel 105 is shown. The valve system 101 typically controls multiple cylinders 102. Therefore, the display panel 105 can display the operating status of multiple cylinders 102.

[0137] exist Figure 26 The operating state of the first cylinder 102 is illustrated in the upper display area. The display control unit 2516 displays the operating state corresponding to the output signal from the cylinder 102 on the OLED display 2530 relative to the screen template 2522. The first cylinder 102 is named "Cylinder ABC". This name can be obtained from the cylinder sensor 103. The current position of the piston 402 of the first cylinder 102 is the left end of the displaceable range. Therefore, the position symbol 1701 at the left end of the plurality of position symbols 1701 is displayed in a first color (e.g., green). In this example, a second detection range 802 is set, and a threshold symbol including three position symbols 1701 is displayed in a third color (e.g., orange). In this example, the display of the first detection range 801 is omitted, but the first detection range 801 can be displayed by the threshold symbol. In addition, the power symbol 1904, the first output symbol 1905, and the second output symbol 1906 mentioned above are also displayed. When the cylinder block sensor 103 is activated, the display control unit 2516 illuminates the power symbol 1904. Based on the output signal from the cylinder block sensor 103, the display control unit 2516 switches the first output symbol 1905 and the second output symbol 1906 to be lit and turned off, or switches the display color.

[0138] exist Figure 26 The operating status of the second cylinder 102 is illustrated on the lower side. "Cylinder DEF" is displayed as the name of the second cylinder 102. Additionally, a bar symbol 1801 is displayed to indicate the position of the piston 402. Range symbols 1802 and 1803 are also displayed to inform the user of the first detection range 801 and the second detection range 802. Furthermore, the aforementioned power symbol 1904, first output symbol 1905, and second output symbol 1906 are also displayed. The power symbol 1904, first output symbol 1905, and second output symbol 1906 are switched on and off or changed in display color based on the output signal from the cylinder block sensor 103.

[0139] When displaying the operating status of multiple cylinders 102 as described above, different screen templates 2522 can be used, or the same screen template 2522 can be used. The user can select the desired screen template 2522 from the multiple screen templates 2522 through the setting screen according to the purpose of the cylinder 102 to be displayed.

[0140] Because the display area of ​​the display panel 105 is much wider than that of the repeater amplifier 104 and the cylinder 102, more information can be displayed. On the other hand, when the display panel 105 adopts a UI similar to that of the repeater amplifier 104 or the cylinder 102, the user can immediately grasp the operating status.

[0141] Figures 27A to 27C Other operation screens are illustrated below. A fixture (clamp, robotic arm) can be used as the control target for cylinder 102. The display control unit 2516 displays the operation screen corresponding to screen template 2522 on the OLED display 2530. Screen template 2522 may have a current value display area 1700, an operation display area 1710, and a status display area 2720. The current value display area 1700 displays the current position (current value) of piston 402 as indicated by the output signal from cylinder sensor 103. The operation display area 1710 displays fixture 2701, jaws 2702, and output symbol 2705. Fixture 2701 is an icon mimicking the fixture to be controlled by cylinder 102. Jaws 2702 are icons mimicking multiple jaws used to grip the workpiece 2703 to be gripped. Workpiece 2703 is, for example, a product or part manufactured in a production line. Output symbol 2705 is a symbol (indicator) used to indicate which of a plurality of pre-set detection ranges the gripper 2702 is located in. Status display area 2720 indicates an image or character used to indicate the current status of gripper 2701, as well as the detection range (threshold and width).

[0142] Figure 27A This example illustrates the state in which the cylinder block sensor 103 outputs a first output signal. In this example, the current position indicates the distance between the two claws 2702. The first detection range 801, which defines the conditions for outputting the first output signal, is defined by a threshold of 100 mm and a width of 8 mm. Therefore, the cylinder block sensor 103 outputs the first output signal when the current position is above 96 mm and below 104 mm. During the output of the first output signal, the output symbol 2705 is displayed in a color corresponding to the first output signal (e.g., blue).

[0143] Figure 27B This example illustrates the state in which the cylinder block sensor 103 outputs a second output signal. The second detection range 802, which defines the conditions for outputting the second output signal, is defined by a threshold of 60 mm and a width of 10 mm. Therefore, when the current position is between 50 mm and 70 mm, the cylinder block sensor 103 outputs the second output signal. During the output of the second output signal, the output symbol 2705 is displayed in a color corresponding to the second output signal (e.g., orange).

[0144] Figure 27CThis example illustrates the state in which the cylinder block sensor 103 outputs a third output signal. The third detection range, which defines the conditions for outputting the third output signal, is defined by a threshold of 30 mm and a width of 10 mm. Therefore, the cylinder block sensor 103 outputs a third output signal when the current position is between 20 mm and 40 mm. During the output of the third output signal, the output symbol 2705 is displayed in a color corresponding to the third output signal (example: purple).

[0145] 15-3. Setting the screen Figure 28 An example of a setting screen displayed on the OLED display 2530 of the display panel 105 is shown. The display control unit 2516 displays the setting screen on the OLED display 2530 according to the screen template 2522. The signal selection units 2811, 2821, and 2831 are drop-down lists, etc., for selecting one output signal from multiple output signals. The threshold input units 2812, 2822, and 2832 are input units for inputting threshold values. When a user touches the threshold input units 2812, 2822, and 2832 with their finger or a stylus (touch pen), the OLED display 2530 can assist the user in inputting numerical values ​​by displaying a numeric keypad or numeric up / down adjustment keys. Alternatively, the values ​​displayed on the threshold input units 2812, 2822, and 2832 can be changed in conjunction with the position information of the piston 402 output from the cylinder sensor 103. In this case, instead of inputting values ​​with their finger, the user can open or close the two claws 2702. The display control unit 2516 can change the values ​​displayed on the threshold input units 2812, 2822, and 2832 based on the position information output from the cylinder block sensor 103, according to the position of the claw 2702. As a result, the user can determine the appropriate threshold by operating the claw 2702.

[0146] Figure 29 Another example of a setup screen displayed on the OLED display 2530 of the display panel 105 is shown. In this example, the display panel 105 may receive position information output from the cylinder block sensor 103, but does not display that position information.

[0147] The user selects the first output signal by operating the signal selection unit 2811, moves the two claws 2702 with their finger, and stops the two claws 2702 at a position corresponding to the threshold of the first output signal. When the setting button 2911 is pressed, the setting unit 2513 determines the current position of the claws 2702 as the threshold corresponding to the first output signal and stores the threshold in the setting information.

[0148] The user selects a second output signal via the operation signal selection unit 2821, causing the two jaws 2702 to move and stop at a position corresponding to a threshold value of the second output signal. The workpiece 2703 can then be clamped between the two jaws 2702. When the setting button 2921 is pressed, the setting unit 2513 determines the current position of the jaws 2702 as the threshold value corresponding to the second output signal and stores this threshold value in the setting information.

[0149] The user operation signal selection unit 2831 selects a third output signal to move the two claws 2702 and stop them at a position corresponding to the threshold of the third output signal. In this case, the two claws 2702 are located at a position corresponding to the ungrabbed state. When the setting button 2931 is pressed, the setting unit 2513 determines the current position of the claws 2702 as the threshold corresponding to the third output signal and stores the threshold in the setting information.

[0150] The setting unit 2513 writes setting information into the cylinder block sensor 103 via the valve system 101 and the relay amplifier 104. As a result, the cylinder block sensor 103 can be set via the display panel 105.

[0151] 15-3. Flowchart 15-3-1. Operation Screen Figure 30 An example is given of a display control method for an operation screen executed by the CPU 2501 of the display panel 105 according to the control program 2521.

[0152] In S3001, CPU 2501 (display control unit 2516) reads setting information from memory 2502.

[0153] In S3002, the CPU 2501 (display control unit 2516) reads the screen template 2522 specified by the setting information and displays the operation screen on the OLED display 2530 according to the screen template 2522. If no setting information is available, the display control unit 2516 can select the screen template 2522 desired by the user from multiple screen templates 2522.

[0154] In S3003, CPU 2501 displays the current position indicated by the position information output from cylinder block sensor 103 on the operation screen. For example... Figure 26 As illustrated, the display control unit 2516 changes the display color of the position symbol 1701 corresponding to the current position, displays a bar symbol 1801 with a length corresponding to the current position, displays the current position in the current position display area 2700, or displays a claw 2702 at the position corresponding to the current position.

[0155] In S3004, CPU 2501 (display control unit 2516) determines whether an output signal has been received from cylinder block sensor 103. When piston 402 or pawl 2702 is within a preset detection range, cylinder block sensor 103 outputs an output signal corresponding to that detection range. When no output signal is output, CPU 2501 returns from S3004 to S3003. When an output signal is output, CPU 2501 enters S3005 from S3004.

[0156] In S3005, CPU 2501 (display control unit 2516) displays the status corresponding to the output signal on OLED display 2530. For example, as Figure 26 As illustrated, when the first output signal is output, the display control unit 2516 changes the output symbol 1905 to a predetermined display color. When the second output signal is output, the display control unit 2516 changes the output symbol 1906 to a predetermined display color. Figure 27A As illustrated, when the first output signal is output, the display control unit 2516 changes the output symbol 2705 to a display color corresponding to the first output signal. The display control unit 2516 can display messages, thresholds, and widths corresponding to the first output signal in the status display area 2720. For example... Figure 27B As illustrated, when the second output signal is output, the display control unit 2516 changes the output symbol 2705 to a display color corresponding to the second output signal. The display control unit 2516 can display messages, thresholds, and widths corresponding to the second output signal in the status display area 2720. Figure 27C As illustrated, when the third output signal is output, the display control unit 2516 changes the output symbol 2705 to a display color corresponding to the third output signal. The display control unit 2516 can display messages, thresholds, and widths corresponding to the third output signal in the status display area 2720.

[0157] In S3006, CPU 2501 determines whether a power disconnection indication has been received. If no power disconnection indication has been received, CPU 2501 returns from S3006 to S3003. If a power disconnection indication has been received, CPU 2501 terminates the display control method and shuts down the device.

[0158] 15-3-2. Setting the screen Figure 31 This example illustrates a display control method for an operation screen executed by the CPU 2501 of the display panel 105 according to the control program 2521. When the touch sensor 2505 detects a setting start trigger (a user-predetermined operation), the CPU 2501 begins setting processing according to the control program 2521.

[0159] In S3101, CPU 2501 (display control unit 2516) displays a setup screen on OLED display 2530 according to a screen template 2522 for setting up the screen. The setup screen can be... Figure 28 The setup screen shown may be... Figure 29 The illustrated setup screen. Alternatively, the CPU 2501 can receive a user's desired setup screen from among multiple setup screens and display the user-specified setup screen on the OLED display 2530.

[0160] In S3102, the CPU 2501 (setting unit 2513) receives the selection of the output signal to be set. For example, the setting unit 2513 receives the user's selection of the output signal from the list of output signals displayed on the signal selection unit 2811.

[0161] In S3103, the CPU 2501 (setting unit 2513) receives a specified threshold for defining the detection range. For example, the range setting unit 2534 receives a value input in the threshold input unit 2812 as the threshold. For example, the range setting unit 2534 may receive the current value output from the cylinder block sensor 103 as the threshold.

[0162] In S3104, the CPU 2501 (setting unit 2513) receives a specification for defining the width of the detection range. For example, the width setting unit 2535 can receive a value input to the width input unit 2813 as the width. The width setting unit 2535 can cycle through the width based on the tap input to the touch sensor 2505.

[0163] In step S3105, the CPU 2501 (setting unit 2513) determines whether the setting has been indicated as complete by the touch sensor 2505. For example, when the touch sensor 2505 detects that the setting completion button 2850 has been touched, the setting unit 2513 can determine that the setting has been indicated as complete. When the setting completion has not been indicated, the CPU 2501 returns to S3102 and receives the setting for the next output signal. When the setting completion has been indicated, the CPU 2501 proceeds to S3106.

[0164] In S3106, CPU 2501 (setting unit 2513) creates setting information that associates the output signal with the detection range (threshold and width), stores the setting information in memory 2502, and transmits the setting information to cylinder sensor 103.

[0165] 16. Summary like Figure 4As illustrated, the position detection sensor 100 detects the position of a displacement body (e.g., piston 402) that can move parallel to a first direction (e.g., the long side direction of cylinder 102). The cylinder sensor 103 is an example of a detection device for generating a detection signal corresponding to the position of the magnet 403 disposed within the displacement body. The CPU 501 and the position designation unit 512 are examples of position designation units for designating the position of the displacement body in the first direction based on the detection signal generated by the detection device. Figure 2 and Figure 4 As illustrated, housing 200 is an example of a housing for accommodating at least a portion of the detection device and extending along a first direction. Symbol display 505 is an example of a display unit comprising multiple display elements (e.g., LED 305, display pixels of OLED display 630) arranged at different positions within housing 200 along the first direction, and displaying symbols to indicate the position of the displacement body along the first direction. CPU 501 and display control unit 516 are examples of a display control unit that controls the display unit to display a first state, a second state, and an intermediate state in different modes by displaying symbols at different positions on the multiple display elements. In the first state, the displacement body is present at a first position (e.g., the left end of the detectable range) corresponding to one end of the displacement range; in the second state, the displacement body is present at a second position (e.g., the right end of the detectable range 802) corresponding to the other end of the displacement range; and in the intermediate state, the displacement body is present at an intermediate position between the first and second positions. Note that each of the one end and the other end can be the outermost position or an inner position that is not the outermost position.

[0166] According to this embodiment, not only the first state and the second state can be displayed, but also the intermediate state between the first state and the second state can be displayed, which facilitates the installation of the position detection sensor 100.

[0167] like Figure 2 and Figure 3 As shown, external input terminal 503 and external output terminal 506 are examples of signal interface units disposed at the ends of housing 200. CPU 501 and output unit 517 are examples of output units that output position-related information (e.g., analog values ​​indicating the position of piston 402, digital values ​​such as first and second output signals, etc.) based on the position specified by position designation unit 512 via the signal interface unit. By outputting position-related information to relay amplifier 104 and valve system 101 in this manner, position-related information can be displayed in relay amplifier 104 and valve 122 can be controlled in valve system 101 based on position-related information.

[0168] Multiple display elements may include at least three or more light sources arranged along a first direction (e.g., LED 305, display pixels of OLED display 630). Multiple display elements may also include at least four or more light sources arranged along the first direction (e.g., LED 305, display pixels of OLED display 630). The display control unit 516 can control the multiple display elements to display an intermediate state and another intermediate state in different modes, in which the shifter is present at a third position as an intermediate location, and in the other intermediate state, the shifter is present at a fourth position as an intermediate location. For example, the display control unit 516 may represent the intermediate state where the shifter is present at the third position in a first color, and display the other intermediate state where the shifter is present at the fourth position in a second color.

[0169] like Figure 3 As illustrated, the detection device (e.g., cylinder block sensor 103) may include a plurality of magnetic detection elements (e.g., Hall element 304) arranged along a first direction.

[0170] like Figure 3 As illustrated, multiple magnetic detection elements can be arranged at a first interval (e.g., 4 mm or more and 6 mm or less). Multiple display elements (e.g., LED 305, position image 1701) can be arranged at a second interval shorter than the first interval. For example, the second interval can be equal to or greater than 1 mm and less than 10 mm. Alternatively, the second interval can be equal to or greater than 2 mm and less than 4 mm.

[0171] like Figure 14A and Figure 14B As shown, the display control unit 516 can display a first state, a second state, and an intermediate state using a variable-length bar formed by multiple display elements. For example... Figure 16A and Figure 16B as well as Figure 18 As illustrated, the display control unit 516 can display the position of the displacement body using bar symbols 1801.

[0172] like Figure 14A and Figure 14B As shown, the display control unit 516 can change the length of the bar by controlling the number of light sources to be lit from multiple light sources (e.g., LED 305, display pixels of OLED display 1700).

[0173] The display control unit 516 can control the display unit (e.g., LED 305, OLED display 1700) to display the first state, second state, and intermediate state in different colors. This allows the user to clearly distinguish between these three states.

[0174] The output unit 517 can output a first output signal when the displacement body is within a first detection range 801 including a first position, and can output a second output signal when the displacement body is within a second detection range 802 including a second position.

[0175] Setting unit 513 is an example of a teaching unit that performs teaching, which is the process of setting a first detection range 801 and a second detection range 802 according to the user's instructions.

[0176] For reference Figure 12 As described, operation button 202 and operation switch 303 are examples of input units into which a first operation is input. When a first operation is input into the input unit (e.g., pressing and holding operation button 202 for 2 seconds), setting unit 513 can begin setting a first detection range 801. When a second operation is input into the input unit (e.g., pressing and holding operation button 202 for 2 seconds), setting unit 513 can confirm the first detection range 801 based on a first position where the displacement body exists and a predetermined width.

[0177] When a first operation is input into the input unit after confirming the first detection range 801, the setting unit 513 can begin setting the second detection range 802. When a second operation is input into the input unit, the setting unit 513 can confirm the second detection range 802 based on the second position where the displacement body exists and a predetermined width. Note that the confirmation operation of the first detection range 801 can also be used as the start operation for setting the second detection range 802. As a result, the user can continuously set the first detection range 801 and the second detection range 802.

[0178] On the other hand, the number of detection ranges and the number of output signals can be three or more. When the displacement body is located within the third detection range, including the third position, the output unit 517 can output a third output signal. When a first operation is input into the input unit after confirming the second detection range, the setting unit 513 can begin setting the third detection range. When a second operation is input into the input unit, the setting unit 513 can confirm the third detection range based on the third position where the displacement body exists and a predetermined width. As a result, so-called three-point output can be achieved. Here, three-point output means outputting output signals corresponding to the three positions of the displacement body. For example, if the displacement body is a clamp (gripper) for gripping or releasing an object, the positions of the piston 402 that opens and closes the claws can be used to realize the states of two claws open, two claws gripping an object, and two claws failing to grip an object (ungripped state). In this case, three detection ranges and three output signals corresponding to these three detection ranges are set to identify these three states.

[0179] The setting unit 513 may include a width setting unit 515 for setting a predetermined width according to an instruction input from the input unit. (See reference...) Figure 14A and Figure 14B As described, the width setting unit 515 can switch the width each time the operation button 202 is pressed briefly in the setting mode.

[0180] For reference Figure 13 As described, when the first operation is entered in the input unit, the setting unit 513 can reset (batch delete) the first detection range 801 and the second detection range 802. By resetting the detection range using such a simple operation, resetting the job becomes easy.

[0181] The symbol display 505 may also include a first display element (e.g., first output LED 205) indicating that a first output signal has been output and a second display element (e.g., second output LED 206) indicating that a second output signal has been output.

[0182] like Figures 8A to 8C As illustrated, the symbol display 505 can change the position of the symbol used to indicate the position of the displacement body in conjunction with the movement of the displacement body. This facilitates the installation of the cylinder sensor 103.

[0183] The detection device (e.g., cylinder sensor 103) can be operated by being powered via a relay device (e.g., relay amplifier 104) installed between the moving device (e.g., valve system 101) that moves the displacement body and the housing 200.

[0184] like Figure 3As illustrated, housing 200 is an example of a first housing for accommodating at least a portion of the detection device and extending along a first direction. Housing 1900 of the repeater amplifier 104 and housing 2500 of the display panel 105 are examples of second housings connected to the first housing via cables (e.g., IO-Link cables, Ethernet cables). Operation switch 605 and touch sensor 2505 are examples of input units disposed in the second housing and receiving operational input. OLED displays 630 and 2530 are examples of display units disposed in the second housing, including multiple display elements (e.g., display pixels) arranged at different positions within the second housing along a second direction corresponding to the first direction, and displaying a position symbol for indicating the position of the displacement body along the first direction and a threshold symbol for indicating the position of a threshold. The display control units 616 and 2516 can be disposed in the second housing and can control the display unit to display a first state, a second state, and an intermediate state in different modes by displaying position symbols at different positions on multiple display elements. They can also control the display unit to display threshold symbols at different positions on multiple display elements according to a threshold set corresponding to the operation input received via the input unit. In the first state, the shifter is present at a first position corresponding to one end of the shift range; in the second state, the shifter is present at a second position corresponding to the other end of the shift range; and in the intermediate state, the shifter is present at an intermediate position between the first and second positions. This facilitates the installation of the position detection sensor 100.

[0185] Multiple display elements may include at least three or more light sources arranged along a first direction (e.g., display pixels of OLED displays 630 and 2530). Multiple display elements may also include at least four or more light sources arranged along the first direction (e.g., display pixels of OLED displays 630 and 2530). Display control units 616 and 2516 can display an intermediate state and another intermediate state in different modes, in which the shifter is present at a third position as an intermediate location, and in the other intermediate state, the shifter is present at a fourth position as an intermediate location. Figure 19A As illustrated, the number of position symbols 1701 can be four or more. For example, N position symbols 1701 can distinguishably display N positions.

[0186] Display control units 616 and 2516 can control the display unit to display a first state, a second state, and an intermediate state using a variable-length bar (e.g., bar symbol 1801) implemented by multiple display elements. Since OLED displays 630 and 2530 include a large number of display pixels, bar symbol 1801 can be displayed. Compared to multiple LEDs 305, bar symbol 1801 can display the position of piston 402 in more detail.

[0187] Multiple display elements can be multiple light sources (display pixels). Display control units 616 and 2516 can change the length of the bar by controlling the number of light sources to be lit among the multiple light sources.

[0188] like Figures 20A to 20C As illustrated, display control units 616 and 2516 can display a setting screen for setting thresholds based on operational input received via the input unit. Figures 20A to 20C As illustrated, display control units 616 and 2516 can control the display unit to display the first state, second state, and intermediate state in different modes on the setting screen.

[0189] The second housing (e.g., housings 1900 and 2500) may also include a storage unit (e.g., memory 602 and 2502) that stores screen template information for displaying the setup screen (e.g., screen templates 622 and 2522). Display control units 616 and 2516 can read the screen template information from the storage unit and display the setup screen on the display unit.

[0190] The second housing (example: housings 1900 and 2500) may also include a power supply unit (example: power terminals 607 and 2507) for supplying power to the first housing.

[0191] If the position of the displacement body exceeds a threshold, the output unit 517 can output an output signal. For example, when the displacement body is within the detection range determined by the threshold and the width, the output unit 517 can output an output signal.

[0192] Setting units 613 and 2513 can function as teaching units to perform teaching processes that set thresholds according to user instructions. Output unit 517 can be configured to output an output signal when the displacement body is within the detection range determined by the threshold and width. The second housing may also include width setting units 635 and 2535 for adjusting the width.

[0193] The first housing (e.g., housing 200) may further include: a second display unit (e.g., LED 305) comprising a plurality of display elements arranged at different positions within the first housing along a first direction, and displaying position symbols and threshold symbols; and a second display control unit (e.g., display control unit 516) controlling the second display unit to display a first state, a second state, and an intermediate state in different modes by displaying position symbols at different positions on the plurality of display elements of the second display unit, and controlling the second display unit to display threshold symbols at different positions on the plurality of display elements of the second display unit. As described above, the cylinder 102, the relay amplifier 104, and the display panel 105 each display the position of the piston 402 of the cylinder 102. Therefore, the display content displayed on the display unit (e.g., OLED displays 630 and 2530) disposed in the second housing can be associated with the display content displayed on the second display unit (e.g., LED 305).

[0194] 17. Other variations (1)External I / F 5060 exist Figure 5 In the illustrated control system of cylinder sensor 103, output unit 517 outputs position information indicating the position of piston 402 specified by position designation unit 512 to repeater amplifier 104 via external output terminal 506 and IO-Link cable 113. However, for example, as Figure 32 As illustrated, external output terminal 506 can be changed to external I / F 5060.

[0195] exist Figure 32 In this configuration, the external I / F 5060 includes a control output circuit 5060a for sending control outputs such as ON / OFF to a programmable logic controller (PLC), a communication circuit 5060b for sending position and setting information to a relay amplifier 104 and an I / O link master station (not shown), and an external output terminal 5060c. Here, one external output terminal 5060c is shared by the control output circuit 5060a and the communication circuit 5060b, but this is merely an example. Two separate external output terminals 5060c can be provided. In this case, the control output circuit 5060a and the communication circuit 5060b can use their respective individual external output terminals 5060c.

[0196] The control output circuit 5060a is a circuit that converts a voltage value (e.g., 3.3V) output by the output unit 517 and used to indicate control output into a desired voltage level (e.g., 24V). Furthermore, the communication circuit 5060b is a circuit that converts a voltage value (e.g., 3.3V) output by the output unit 517 and used to indicate position information, etc., into a desired voltage level (e.g., 24V).

[0197] In addition, Figure 32 Since the control output circuit 5060a and the communication circuit 5060b are physically implemented using a single integrated circuit, the usability of the cylinder sensor 103 can be improved while suppressing manufacturing costs. Furthermore, since the cylinder sensor 103 is frequently attached to a clamp (gripper) or another movable part, its size needs to be minimized. By physically sharing the control output circuit 5060a and the communication circuit 5060b, the size of the cylinder sensor 103 can be reduced. More specifically, when setting thresholds or similar parameters for the cylinder sensor 103, a relay amplifier 104 is connected to the cylinder sensor 103. In this case, the cylinder sensor 103 can communicate with the relay amplifier 104 via the communication circuit 5060b of the external I / F 5060. On the other hand, when sending control outputs to the PLC, the relay amplifier 104 can be detached from the cylinder sensor 103, and the cylinder sensor 103 and the PLC can be directly connected. At this time, the cylinder sensor 103 can send control output to the PLC using the control output circuit 5060a of the external I / F 5060.

[0198] (2) I / O link master station 1041 exist Figure 1 In the illustrated position detection sensor 100, an example has been described where the cylinder block sensor 103 is connected to the valve system 101 via a relay amplifier 104. The invention is not limited thereto, and for example, as... Figure 33A As illustrated, the cylinder sensor 103 can also be connected to the PLC 1042 via the I / O link master station 1041.

[0199] The I / O link master station 1041 functions as a so-called data relay device. This data relay device connects sensors and actuators configured remotely from the PLC 1042 to the network to which the PLC 1042 is connected (e.g., Ethernet, registered trademark), and relays the measurement results from the sensors and actuators to the PLC 1042. The I / O link master station 1041 includes a CPU, storage devices, a relay memory (for temporary storage), and communication circuitry to implement this relay function. The I / O link master station 1041 communicates with the cylinder block sensor 103 according to a predetermined communication protocol (e.g., IEC 61131-9), receives identification information and measurement results, and stores this information and measurement results in the relay memory. The measurement results are received cyclically (periodically) and transmitted to the PLC 1042 via the relay memory. When PLC 1042 performs an input / output refresh, I / O link master station 1041 transmits (sends) the measurement results held in the relay memory to PLC 1042. Note that the first cycle (collection cycle) in which I / O link master station 1041 acquires information from cylinder sensor 103 and the second cycle (so-called control cycle) in which I / O link master station 1041 sends information to PLC 1042 can be the same or different. When the first cycle is longer than the second cycle, the amount of data acquired by PLC 1042 becomes relatively small, and the data processing load on PLC 1042 decreases. When the first cycle is shorter than the second cycle, PLC 1042 can acquire the value of cylinder sensor 103 without missing values, but it may acquire the same value multiple times, and the load on PLC 1042 increases.

[0200] exist Figure 33A In this process, the cylinder block sensor 103 creates process data (such as position information) according to a predetermined output format for each predetermined measurement cycle, and sends this process data to the I / O link master station 1041. As described above, the PLC 1042 communicates with the I / O link master station 1041 via an industrial network. The PLC 1042 receives the position information measured by the cylinder block sensor 103 via the I / O link master station 1041 and stores the position information in a predetermined recording area (data memory, relay device, and word device, etc.). The PLC 1042 can perform cyclic communication to obtain data from the I / O link master station 1041 for each predetermined communication cycle, or message communication to obtain data in response by sending commands.

[0201] On the other hand, such as Figure 33BAs illustrated, when the cylinder block sensor 103 is connected to the relay amplifier 104, the relay amplifier 104 can be connected to the portable battery 1040. In this case, the external I / F 5060 (communication circuit 5060b) of the aforementioned cylinder block sensor 103 communicates with the relay amplifier 104.

[0202] In such Figure 33A When the cylinder block sensor 103 (via I / O link master station 1041) is connected to PLC 1042, the control output circuit 5060a of the external I / F 5060 of the cylinder block sensor 103 functions. On the other hand, in cases such as Figure 33B When the illustrated cylinder block sensor 103 is connected to the relay amplifier 104, the communication circuit 5060b of the external I / F 5060 of the cylinder block sensor 103 functions. In this way, by sharing the external I / F 5060, the cylinder block sensor 103 can be miniaturized. Furthermore, as described above, by making the control output circuit 5060a and the communication circuit 5060b physically the same circuit, further miniaturization of the cylinder block sensor 103 can be achieved.

[0203] Here, as Figure 33B As illustrated, repeater amplifier 104 can be connected to mobile battery 1040. For example... Figure 34 As illustrated, the repeater amplifier 104 may include, for example, a desired voltage request unit 6070 and a voltage conversion unit 6071. The desired voltage request unit 6070 requests a desired voltage (e.g., 5V) from the mobile battery 1040. In response to this request, the mobile battery 1040 supplies the desired voltage (predetermined voltage) to the repeater amplifier 104. Furthermore, the voltage conversion unit 6071 has the function of converting the voltage supplied from the mobile battery 1040 into an optimal voltage to supply voltage to the cylinder sensor 103. The repeater amplifier 104 can also function as a power source for communication.

[0204] (3) Exception handling Next, as another variation, the abnormal handling in the case where the cylinder block sensor 103 is removed from the relay amplifier 104 and then reconnected to the relay amplifier 104 will be described.

[0205] First, a method for determining that the cylinder block sensor 103 is connected to the relay amplifier 104 will be described. To enable the cylinder block sensor 103 to recognize its connection to the relay amplifier 104 and to facilitate communication using the output line, the relay amplifier 104 applies a pulse of a specific duration to the cylinder block sensor 103 via the output line, thereby switching the cylinder block sensor 103 into communication mode. Then, communication is initiated from the relay amplifier 104 side, causing the cylinder block sensor 103 to respond and communication to become possible.

[0206] Here, if the cylinder block sensor 103 is removed from the relay amplifier 104, and there is no response from the cylinder block sensor 103 within a certain period of time when the transmission from the relay amplifier 104 to the cylinder block sensor 103 is made, it is assumed to be a communication error. The transmission from the relay amplifier 104 to the cylinder block sensor 103 can be retried multiple times until it is determined that a communication error has occurred.

[0207] Next, the process for when the cylinder block sensor 103 is detached from and then reconnected to the relay amplifier 104 will be described. For example, the following processing methods are conceivable: Mode 1) To restore communication, the cylinder block sensor 103 is switched to communication mode by applying a pulse of a specific duration from the relay amplifier 104. Afterwards, the cylinder block sensor 103 communicates with the relay amplifier 104 to enable transmission and reception. Mode 2) Without attempting to automatically restore communication from the relay amplifier 104, the cylinder block sensor 103 is switched to communication mode by a user operation (e.g., button operation of the relay amplifier 104).

[0208] Other examples of anomaly handling include magnetic flux density detection errors. Since the magnetic flux density threshold is maintained on the cylinder block sensor 103 side, it can be determined whether the magnetic flux density detected by the cylinder block sensor 103 is within a predetermined threshold range, and the determination result can be sent to the relay amplifier 104.

[0209] The present invention is not limited to the above embodiments, and various modifications and changes can be made within the scope of the spirit of the present invention.

Claims

1. A position detection sensor configured to detect the position of a displacement body capable of moving parallel to a first direction, the position detection sensor comprising: A detection device configured to generate a detection signal corresponding to the position of a magnet disposed on the displacement body; A position designation unit is configured to designate the position of the displacement body in the first direction based on a detection signal generated by the detection device; A housing configured to accommodate at least a portion of the detection device and extending along the first direction; The display unit includes a plurality of display elements arranged at different positions on the housing along the first direction, and is configured to display a symbol for indicating the position of the displacement body along the first direction; as well as A display control unit is configured to control the display unit to display a first state, a second state, and an intermediate state in different modes by displaying the symbol at different positions on the plurality of display elements, wherein in the first state, the shifter is present at a first position corresponding to one end of the shift range, in the second state, the shifter is present at a second position corresponding to the other end of the shift range, and in the intermediate state, the shifter is present at an intermediate position between the first position and the second position.

2. The position detection sensor according to claim 1, further comprising: A signal interface unit is disposed at the end of the housing; as well as The output unit is configured to output location-related information based on the location specified by the location specification unit via the signal interface unit.

3. The position detection sensor according to claim 1, wherein, The plurality of display elements include at least three or more light sources arranged along the first direction.

4. The position detection sensor according to claim 1, wherein, The plurality of display elements includes at least four or more light sources arranged along the first direction, and The display control unit controls the plurality of display elements to display, in different modes, an intermediate state in which the displacement body exists at a third position, which is the intermediate position, and another intermediate state in which the displacement body exists at a fourth position, which is the intermediate position.

5. The position detection sensor according to claim 1, wherein, The detection device includes a plurality of magnetic detection elements arranged along the first direction.

6. The position detection sensor according to claim 5, wherein, The plurality of magnetic detection elements are arranged at a first interval, and The plurality of display elements are arranged at a second interval that is shorter than the first interval.

7. The position detection sensor according to claim 6, wherein, The second interval is less than 10 mm and not less than 1 mm.

8. The position detection sensor according to claim 1, wherein, The display control unit controls the display unit to display the first state, the second state, and the intermediate state through a variable-length bar implemented by the plurality of display elements.

9. The position detection sensor according to claim 8, wherein, The multiple display elements include multiple light sources, and The display control unit changes the length of the bar by controlling the number of light sources to be lit among the plurality of light sources.

10. The position detection sensor according to claim 1, wherein, The display control unit controls the display unit to display the first state, the second state, and the intermediate state using different colors.

11. The position detection sensor according to claim 2, wherein, The output unit outputs a first output signal when the displacement body is within a first detection range including the first position, and outputs a second output signal when the displacement body is within a second detection range including the second position.

12. The position detection sensor of claim 11, further comprising a teaching unit configured to perform teaching, the teaching being a process for setting the first detection range and the second detection range according to a user instruction.

13. The position detection sensor according to claim 12, further comprising an input unit, wherein a first operation is input to the input unit. in, The teaching unit starts setting the first detection range when the first operation is input into the input unit, and confirms the first detection range based on the first position of the displacement body and the predetermined width when the second operation is input into the input unit.

14. The position detection sensor according to claim 13, wherein, The teaching unit begins setting the second detection range when the first operation is input into the input unit after confirming the first detection range, and confirms the second detection range based on the second position of the displacement body and the predetermined width when the second operation is input into the input unit.

15. The position detection sensor according to claim 14, wherein, The output unit outputs a third output signal when the displacement body is within a third detection range including the third position, and The teaching unit begins setting the third detection range when the first operation is input into the input unit after confirming the second detection range, and confirms the third detection range based on the third position of the displacement body and the predetermined width when the second operation is input into the input unit.

16. The position detection sensor of claim 13, further comprising a width setting unit configured to set the predetermined width according to an instruction input from the input unit.

17. The position detection sensor according to claim 13, wherein, When the first operation is input into the input unit, the teaching unit resets the first detection range and the second detection range.

18. The position detection sensor according to claim 11, wherein, The display unit further includes a first display element indicating that the first output signal has been output and a second display element indicating that the second output signal has been output.

19. The position detection sensor according to claim 1, wherein, The display unit changes the position of the symbol used to indicate the position of the displacement body in conjunction with the movement of the displacement body.

20. A position detection sensor configured to detect the position of a displacement body capable of moving parallel to a first direction, the position detection sensor comprising: A detection device configured to generate a detection signal corresponding to the position of a magnet disposed on the displacement body; A position designation unit is configured to designate the position of the displacement body in the first direction based on a detection signal generated by the detection device; A first housing, configured to accommodate at least a portion of the detection device, and extending along the first direction; The second housing is connected to the first housing via a cable; An input unit is disposed in the second housing and configured to receive operational input; The display unit, disposed in the second housing, includes a plurality of display elements arranged at different positions on the second housing along a second direction corresponding to the first direction, and is configured to display a position symbol for indicating the position of the displacement body along the first direction and a threshold symbol for indicating the position of a threshold. as well as A display control unit, disposed in the second housing, is configured to control the display unit to display a first state, a second state, and an intermediate state in different modes by displaying the position symbols at different positions on the plurality of display elements, and is configured to control the display unit to display the threshold symbols at different positions on the plurality of display elements according to a threshold set corresponding to an operation input received via the input unit, wherein in the first state, the shifter is present at a first position corresponding to one end of a shift range, in the second state, the shifter is present at a second position corresponding to the other end of the shift range, and in the intermediate state, the shifter is present at an intermediate position between the first position and the second position.