Magnetic reset photoelectric switch
By combining the magnetic reset principle with the guiding component, the problem of aging and fatigue of elastic materials in traditional photoelectric switches is solved, achieving stable reset and long life in harsh environments, flexible adjustment to adapt to different working conditions, and improving the stability and versatility of photoelectric switches.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HANGZHOU SAIJIADE SENSOR
- Filing Date
- 2026-03-05
- Publication Date
- 2026-06-19
AI Technical Summary
The elastic material of traditional photoelectric switches is susceptible to corrosion, aging, and fatigue due to environmental factors, which leads to decreased reset accuracy and failure, affecting service life and stability.
The photoelectric shield is reset by using the magnetic reset principle, which utilizes the repulsion between like poles of a magnet or electromagnet. The repulsive force is controlled by adjusting the current, avoiding mechanical adjustment. Combined with the guide component and sealing structure, the reset accuracy and stability are ensured.
It improves the stability and lifespan of photoelectric switches in harsh environments, adapts to the reset sensitivity requirements of different working conditions, enhances versatility and application range, and reduces maintenance costs.
Smart Images

Figure CN122245986A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of photoelectric switch technology, and more specifically to a magnetically reset photoelectric switch. Background Technology
[0002] As a core control component in industrial automation, equipment control, and safety monitoring, the stability, durability, and response accuracy of the reset structure of photoelectric switches directly determine the overall working performance. Traditional photoelectric switches rely on the physical deformation of elastic metal / non-metal materials such as springs and contact springs to achieve the reset action of the photoelectric stop, which is a conventional technical solution that has been used in the industry for a long time.
[0003] The above-mentioned reset method is limited by the physical properties of the elastic material itself, and has some technical defects in actual long-term use. First, the elastic material is easily affected by the usage environment. Under harsh conditions such as high temperature, humidity, and corrosive media, it will corrode and age, directly leading to component failure and loss of reset function. Second, after repeated deformation-reset cycles, the elastic material will produce obvious material fatigue, and the reset force will change irreversibly, causing problems such as reduced reset accuracy of the photoelectric stop and jamming. It is also easy for the elastic material to be unable to return to its initial state, thereby affecting the working performance and service life of the photoelectric switch.
[0004] Therefore, a magnetic reset photoelectric switch was designed to solve the above-mentioned technical problems. Summary of the Invention
[0005] This invention provides a magnetic reset photoelectric switch, which aims to solve the technical problems of elastic materials being susceptible to environmental influences, resulting in corrosion and aging, fatigue due to repeated deformation, and plastic deformation due to long-term pressure, which in turn lead to component failure, decreased reset accuracy, and loss of reset capability.
[0006] The present invention provides a magnetic reset photoelectric switch, comprising an upper housing and a lower housing, wherein the lower housing is snapped into the interior of the upper housing, and further comprising: The guide cover is connected to the upper outer shell. The guide cover penetrates the upper outer shell and extends into the interior of the upper outer shell. Two guide grooves are symmetrically opened on the outer surface of the guide cover. The photoelectric shield is slidably set inside the guide cover. The outer diameter of the photoelectric shield is adapted to the inner diameter of the guide cover. The photoelectric shield achieves the reset function through a magnetic component. Two guide sliders are symmetrically connected to the outer surface of the bottom end of the photoelectric shield. The guide sliders are located inside the guide groove and are slidably connected to the guide groove. The guide sliders correspond one-to-one with the guide grooves. The photoelectric module is mounted on the lower outer shell, and the photoelectric module, the upper outer shell, and the lower outer shell are attached to each other to form a sealed space.
[0007] Preferably, the magnetic component includes a magnetic structure one, which includes a magnet one and a magnet two. Magnet one is installed inside the photoelectric shield, and its position inside the photoelectric shield is adjustable. Magnet two is installed inside the lower outer shell, and the positions of magnet one and magnet two correspond to each other. The polarities of the opposite sides of magnet one and magnet two are the same.
[0008] Its effect is that it avoids the performance degradation caused by material aging, fatigue or plastic deformation in traditional reset methods such as springs by using magnetic force to reset the material.
[0009] Preferably, the magnetic component includes a second magnetic structure, which includes two electromagnets. One electromagnet is installed inside the photoelectric shield, and the other electromagnet is installed inside the lower outer shell. The two electromagnets are positioned opposite each other, and the polarities on opposite sides of the two electromagnets are the same.
[0010] Its advantage lies in the fact that the magnitude of the electromagnet's repulsive force can be precisely controlled by adjusting the input current, eliminating the need for mechanical adjustments to the repulsive force, such as changing the magnet's strength or adjusting the magnet spacing, as is done with magnets.
[0011] Preferably, a magnetic positioning sleeve is installed inside the lower outer shell, with a magnet or electromagnet located inside the magnetic positioning sleeve. The magnetic positioning sleeve is concentrically arranged with the guide cover, and the outer diameter of the magnetic positioning sleeve is smaller than the inner diameter of the guide cover.
[0012] Its effect is that, through the radial limiting effect of the magnetic positioning sleeve, the coaxiality and relative position accuracy of magnet one and magnet two are ensured, thereby ensuring that the repulsive force between magnet one and magnet two is in a stable state.
[0013] Preferably, the optoelectronic module includes a substrate, pins, a transmitter, and a receiver. There are two pins, which are symmetrically connected on one side of the substrate. The end of one pin is connected to the transmitter, and the end of the other pin is connected to the receiver.
[0014] Preferably, the upper outer shell includes a rectangular cover, a fixing cover, and fixing holes. The fixing cover is connected to the rectangular cover. The lower outer shell and the substrate are both located inside the rectangular cover. The length of the substrate is adapted to the width of the rectangular cover. The thickness of the fixing cover is less than the thickness of the rectangular cover. There are at least two fixing holes, which are opened on one side of the fixing cover.
[0015] Preferably, the lower outer shell includes a base plate, a protective shell, and support pads. The protective shell is installed on one side of the base plate, the magnetic positioning sleeve is located inside the protective shell, the width of the protective shell is smaller than the width of the base plate, and the three sides of the base plate are respectively attached to the rectangular cover, the support pads, and the base plate.
[0016] Its effect is to eliminate gaps between parts, form a sealed cavity, and prevent the substrate and other electronic components from being contaminated.
[0017] Preferably, the protective shell has a connecting groove and a mounting groove on its two symmetrical sides. The connecting groove and the mounting groove are connected. The pins are located inside the connecting groove, and the transmitter and receiver are located inside the mounting groove.
[0018] Its effect is to make the assembly process smooth, avoid the transmitter, receiver and pins from being squeezed or scratched, thereby ensuring the service life of the optoelectronic module and the stability of optoelectronic signal transmission.
[0019] Preferably, a heat dissipation groove is provided on one side of the rectangular cover, and the position of the heat dissipation groove corresponds to that of the substrate. A wire channel is provided on one side of the fixed cover, and the position of the wire channel corresponds to that of the heat dissipation groove.
[0020] Its effect is to increase the contact area between the outer shell and the air by means of heat dissipation grooves, accelerate heat convection and heat dissipation, effectively dissipate the heat generated by the substrate during operation, prevent the substrate from being damaged by overheating, and extend the service life of the substrate.
[0021] Preferably, the base plate and the protective shell are integrated into one structure, and the rectangular cover and the fixed cover are integrated into one structure.
[0022] Its effects are as follows: the bottom plate and the protective shell are integrated into one structure, which makes the lower shell structure stable, and the rectangular cover and the fixed cover are integrated into one structure, which ensures the overall rigidity of the entire upper shell.
[0023] The beneficial effects of this invention are: 1. By adopting the magnetic force reset principle of like poles repelling each other, the traditional physical deformation reset method of elastic materials such as springs and sheet metal is completely abandoned. This fundamentally solves the technical pain points such as material fatigue, reduced reset accuracy, and locking failure caused by material aging and long-term deformation-reset cycle. It provides a new and more stable reset method for the field of photoelectric switches.
[0024] 2. It avoids the problem of easy corrosion and aging of elastic materials under high temperature, humidity and corrosive conditions, so that the photoelectric switch has the ability to operate stably in environments such as high temperature, humidity or corrosive environments, and will not affect its reset performance and photoelectric control accuracy. This environmental adaptability significantly expands the application scope of photoelectric switches.
[0025] 3. It can change the magnitude of the repulsive force of the photoelectric shield during reset, and can be specifically adjusted according to the different needs of reset sensitivity in different scenarios such as industrial automation, equipment control, and safety monitoring. It breaks the limitations of fixed parameters and single application scenarios of traditional elastic reset method, and improves the versatility and adaptability of the switch.
[0026] 4. The surface-to-surface design between the upper and lower outer shells and the photoelectric module forms a sealed space, effectively preventing external dust, moisture, corrosive media, and other contaminants from entering the interior. At the same time, the magnetic positioning sleeve, guide cover, and photoelectric shield work together to shield and protect magnet one and magnet two. Furthermore, the non-contact reset design reduces mechanical wear, giving the photoelectric switch a longer service life, lowering maintenance costs, and meeting the needs of applications requiring long-term stable operation, resulting in significant economic benefits. Attached Figure Description
[0027] Figure 1 This is an exploded structural diagram of the present invention.
[0028] Figure 2 This is a first-view structural schematic diagram of the present invention.
[0029] Figure 3 This is a schematic diagram of the internal structure of the present invention.
[0030] Figure 4 This is a schematic diagram of the second perspective structure of the present invention.
[0031] Figure 5 This is the present invention. Figure 4 A schematic diagram of the cross-sectional structure at point AA.
[0032] Figure 6 This is a third-view structural diagram of the present invention.
[0033] Figure 7 This is the present invention. Figure 6 A schematic diagram of the cross-sectional structure at point BB.
[0034] Figure 8 This is a schematic diagram of the structure of the photoelectric shielding cover of the present invention.
[0035] Figure 9 This is a schematic diagram of the structure of the optoelectronic module of the present invention.
[0036] Figure 10 This is a schematic diagram of the upper outer shell of the present invention.
[0037] Figure 11 This is a schematic diagram of the structure of the lower outer shell of the present invention.
[0038] Figure label: 10. Upper outer shell; 101. Rectangular cover; 1011. Heat dissipation groove; 102. Fixing cover; 103. Fixing hole; 11. Lower outer shell; 111. Base plate; 112. Protective shell; 1121. Communicating groove; 1122. Mounting through groove; 113. Support pad; 12. Photoelectric shield; 13. Magnet one; 14. Magnet two; 15. Guide slider; 16. Magnet positioning sleeve; 17. Wire channel; 20. Photoelectric module; 21. Substrate; 22. Pin; 23. Transmitter; 24. Receiver; 30. Guide cover; 301. Guide groove. Detailed Implementation
[0039] Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain the present invention, and should not be construed as limiting the present invention.
[0040] Example 1: As Figures 1 to 11 As shown, a magnetic reset photoelectric switch of the present invention includes an upper housing 10 and a lower housing 11. The lower housing 11 is inserted into the interior of the upper housing 10, and the outer surface of the lower housing 11 is in contact with the inner surface of the upper housing 10. A photoelectric shield 12 is slidably disposed on the upper housing 10. A magnet 13 is installed inside the photoelectric shield 12. The installation position of the magnet 13 inside the photoelectric shield 12 is adjustable. A magnet 14 is installed inside the lower housing 11. The positions of the magnet 13 and the magnet 14 are corresponding. The polarities of the opposite sides of the magnet 13 and the magnet 14 are the same to generate a repulsive force and reset the photoelectric shield 12. A photoelectric module 20 is disposed on the lower housing 11. The photoelectric module 20, the upper housing 10 and the lower housing 11 are in contact with each other to form a sealed space to prevent external contamination from entering the interior of the lower housing 11 and the upper housing 10.
[0041] When an external force pushes the photoelectric shield 12 to move, the distance between the first magnet 13 inside and the second magnet 14 inside the lower outer shell 11 decreases. At this time, because the polarities of the opposite sides of the first magnet 13 and the second magnet 14 are the same, a repulsive force is generated. Under the action of the external force, the photoelectric shield 12 can be in the shielding position. At this time, the photoelectric shield 12 changes the electrical receiving state of the photoelectric module 20. When the external force disappears, the repulsive force drives the photoelectric shield 12 to return to the initial position, thereby restoring the unshielded state. In the initial state, the pressure required to push the photoelectric shield 12 is small, and when the first magnet 13 is pressed for a long time, the starting rebound force generated by the first magnet 13 on the photoelectric shield 12 during reset is large, making the reset effect of the photoelectric shield 12 better, and making the photoelectric module 20 more effective. In practical applications, the switch offers higher reliability and efficiency. The installation position of magnet 13 inside the photoelectric shield 12 is adjustable, allowing for flexible adjustment of the relative distance between magnet 13 and magnet 2 14 based on the actual application scenario. This enables precise control of the repulsive force during reset. When the distance between magnet 13 and magnet 2 14 decreases, the repulsive force increases, and the reset speed accelerates. Conversely, when the distance increases, the repulsive force decreases, and the reset action becomes smoother. This adapts to the varying reset sensitivity requirements under different operating conditions, enhancing the switch's versatility and adaptability. Furthermore, during actual use, the magnitude of the repulsive force generated during reset can be better adjusted by coordinating the strength parameters of magnet 13 and magnet 2 14 with their distance.
[0042] like Figure 3 , Figure 5 , Figure 7 and Figure 10 A guide assembly is provided between the upper outer shell 10 and the photoelectric shield 12. The guide assembly is used to guide and constrain the photoelectric shield 12. The guide assembly includes a guide cover 30 connected to the upper outer shell 10. The guide cover 30 passes through the upper outer shell 10 and extends into the interior of the upper outer shell 10. The guide cover 30 and the upper outer shell 10 are an integral structure. The photoelectric shield 12 is located inside the guide cover 30 and is slidably connected to the guide cover 30. The outer diameter of the photoelectric shield 12 is adapted to the inner diameter of the guide cover 30. Two guide grooves 301 are symmetrically opened on the outer surface of the guide cover 30. A guide slider 15 is slidably provided on the inner wall of each guide groove 301. The guide slider 15 is installed on the outer surface of the bottom end of the photoelectric shield 12.
[0043] As the photoelectric shield 12 moves, the guide slider 15 moves along the guide groove 301, thereby forming an axial guiding constraint on the photoelectric shield 12, preventing the photoelectric shield 12 from rotating circumferentially during movement, and thus ensuring accurate shielding position.
[0044] like Figure 5As shown, a magnetic positioning sleeve 16 is installed inside the lower outer shell 11. Magnet 2 14 is located inside the magnetic positioning sleeve 16. The magnetic positioning sleeve 16 is used to quickly position magnet 2 14 so that the position of magnet 2 14 corresponds precisely with magnet 13. The magnetic positioning sleeve 16 is concentrically set with the guide cover 30. The magnetic positioning sleeve 16 is located inside the guide cover 30, and the outer diameter of the magnetic positioning sleeve 16 is smaller than the inner diameter of the guide cover 30. The magnetic positioning sleeve 16, the guide cover 30, and the photoelectric shield 12 can shield magnet 13 and magnet 2 14, thereby greatly avoiding the influence of external factors on magnet 13 and magnet 2 14.
[0045] It should be noted that the magnet positioning sleeve 16 can be made of insulating material, which can effectively prevent the magnetic field from being affected by external metal parts.
[0046] like Figure 3 , Figure 7 and Figure 9 The optoelectronic module 20 includes a substrate 21, on which two pins 22 are symmetrically connected. One pin 22 is connected to a transmitter 23 at one end, and the other pin 22 is connected to a receiver 24 at the other end. The transmitter 23 and the receiver 24 are both positioned corresponding to the guide groove 301, and the size of the guide groove 301 is larger than the size of the transmitter 23 and the receiver 24 to ensure that the signal emitted by the transmitter 23 can be successfully received by the receiver 24.
[0047] The transmitter 23 on the substrate 21 emits a photoelectric signal, which is transmitted to the receiver 24 through the guide groove 301. When the photoelectric shield 12 moves, its sidewall blocks or avoids the guide groove 301 to realize the on / off control of the signal, thereby realizing the on / off function of the switch. The guide groove 301 is larger than the size of the transmitter 23 and the receiver 24 to ensure that the signal is transmitted without obstruction.
[0048] like Figures 1 to 7 and Figure 10 The upper outer shell 10 includes a rectangular cover 101, and a fixing cover 102 is fixedly connected to one side of the rectangular cover 101. The rectangular cover 101 and the fixing cover 102 are an integral structure. The thickness of the fixing cover 102 is less than the thickness of the rectangular cover 101. The lower outer shell 11 is located inside the rectangular cover 101. At least two fixing holes 103 are provided on one side of the fixing cover 102.
[0049] The rectangular cover 101 provides installation space for the lower housing 11 and internal components. The fixed cover 102 is connected to the external mounting surface through the fixing holes 103 and fasteners such as bolts to fix the entire switch. The rectangular cover 101 and the fixed cover 102 are an integral structure to ensure the overall rigidity of the upper housing 10.
[0050] like Figures 1 to 7 and Figure 11 The lower outer shell 11 includes a base plate 111, the size of which is adapted to the internal size of the rectangular cover 101. The thickness of the base plate 111 is less than the thickness of the rectangular cover 101. A protective shell 112 is fixedly connected to one side of the base plate 111. The base plate 111 and the protective shell 112 are an integral structure. The magnetic positioning sleeve 16 is located inside the protective shell 112. The width of the protective shell 112 is less than the width of the base plate 111. Support pads 113 are fixedly connected to the four corners of one side of the protective shell 112. The base plate 21 is located inside the rectangular cover 101. The length of the base plate 21 is adapted to the internal width of the rectangular cover 101. The three sides of the base plate 21 are respectively attached to the rectangular cover 101, the support pads 113 and the base plate 111, so that a sealed space is formed between the base plate 21, the base plate 111 and the rectangular cover 101.
[0051] After the optoelectronic module 20 is installed, both ends of the substrate 21 are attached to the rectangular cover 101, and the three adjacent sides of the substrate 21 are attached to the rectangular cover 101, the support pads 113 and the base plate 111 respectively. Through the surface-to-surface contact structure design between the various parts, gaps can be eliminated to form a sealed cavity, preventing the substrate 21 and other electronic components from being contaminated. The base plate 111 and the protective shell 112 are an integral structure, which makes the lower shell 11 structurally stable. The design of the support pads 113 prevents the substrate 21 from directly contacting the protective shell 112, reducing the transmission of vibration and protecting the service life of the substrate 21.
[0052] The protective shell 112 has a connecting groove 1121 and a mounting groove 1122 on its two symmetrical sides. The connecting groove 1121 and the mounting groove 1122 are connected. The pin 22 is located inside the connecting groove 1121, and the transmitter 23 and the receiver 24 are located inside the mounting groove 1122. This ensures that the transmitter 23, the receiver 24 and the pin 22 will not come into contact with the rectangular cover 101 during the installation of the protective shell 112, thus ensuring a smooth installation process.
[0053] like Figure 10 A heat dissipation groove 1011 is provided on one side of the rectangular cover 101, and the heat dissipation groove 1011 corresponds to the position of the substrate 21. A wire channel 17 is provided on one side of the fixing cover 102, and the wire channel 17 corresponds to the position of the heat dissipation groove 1011. The wires connected to the substrate 21 pass through the inside of the wire channel 17 and the heat dissipation groove 1011.
[0054] The heat generated by the substrate 21 during operation is dissipated to the outside through the heat dissipation groove 1011. The heat dissipation groove 1011 increases the contact area between the outer shell and the air, accelerates heat convection and heat dissipation, effectively dissipates the heat generated by the substrate 21 during operation, prevents the substrate 21 from being damaged due to overheating, extends the service life of the substrate 21, and enables the wires to be arranged neatly through the wire channel 17 and the heat dissipation groove 1011, which is convenient for installation and subsequent maintenance.
[0055] Example 2: Based on Example 1, magnet 13 and magnet 14 are replaced with electromagnets. The electromagnets need to be connected with wires. Through holes are provided on the upper housing 10 and the lower housing 11 for the wires to pass through. Sealing structures such as sealing rings and waterproof connectors are provided at the through holes to ensure the sealing between the wires and the upper housing 10 and the lower housing 11.
[0056] The repulsive force of an electromagnet can be precisely controlled by adjusting the input current. Unlike magnets, which require mechanical adjustments such as changing magnet strength or adjusting magnet spacing, electromagnets can dynamically adjust the repulsive force in real time according to actual application scenarios (such as different friction forces or different blocking force requirements). This makes them more adaptable and solves the problems of fixed magnet force values and cumbersome adjustments.
[0057] Furthermore, the magnetic poles of the electromagnet can be switched during use. When the two electromagnets are in a repulsive mode, it is the original reset mode, which meets the conventional blocking-reset requirements. In the attraction mode, the electromagnet can attract the photoelectric blocking cover 12 to the blocking position, realizing the locking function of the photoelectric blocking cover 12. It is suitable for application scenarios that need to maintain the blocking state for a long time. Moreover, the electromagnet can be connected to intelligent devices such as industrial control systems, PLCs, and sensors to realize intelligent linkage of the reset function through electrical signals.
[0058] In the description of this invention, it should be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," "counterclockwise," "axial," "radial," and "circumferential" indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are used only for the convenience of describing this invention and simplifying the description, and are not intended to indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this invention.
[0059] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this invention, "a plurality of" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0060] Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of the present invention.
Claims
1. A magnetic reset photoelectric switch, comprising an upper housing (10) and a lower housing (11), characterized in that, The lower outer casing (11) is inserted into the interior of the upper outer casing (10), and also includes: The guide cover (30) is connected to the upper outer shell (10). The guide cover (30) penetrates the upper outer shell (10) and extends into the interior of the upper outer shell (10). Two guide grooves (301) are symmetrically opened on the outer surface of the guide cover (30). The photoelectric shield (12) is slidably set inside the guide cover (30). The outer diameter of the photoelectric shield (12) is adapted to the inner diameter of the guide cover (30). The photoelectric shield (12) realizes the reset function through the magnetic component. Two guide sliders (15) are symmetrically connected to the outer surface of the bottom end of the photoelectric shield (12). The guide sliders (15) are located inside the guide groove (301) and are slidably connected to the guide groove (301). The guide sliders (15) correspond one-to-one with the guide grooves (301). The photoelectric module (20) is mounted on the lower shell (11). The photoelectric module (20), the upper shell (10) and the lower shell (11) are attached to each other to form a sealed space.
2. The magnetic reset photoelectric switch according to claim 1, characterized in that, The magnetic component includes a magnetic structure one, which includes a magnet one (13) and a magnet two (14). The magnet one (13) is installed inside the photoelectric shield (12), and the position of the magnet one (13) inside the photoelectric shield (12) is adjustable. The magnet two (14) is installed inside the lower outer shell (11), and the positions of the magnet one (13) and the magnet two (14) correspond to each other. The polarities of the opposite sides of the magnet one (13) and the magnet two (14) are the same.
3. A magnetic reset photoelectric switch according to claim 1, characterized in that, The magnetic component includes a second magnetic structure, which includes two electromagnets. One electromagnet is installed inside the photoelectric shield (12), and the other electromagnet is installed inside the lower outer shell (11). The two electromagnets are positioned opposite each other, and the polarities of the opposite sides of the two electromagnets are the same.
4. A magnetic reset photoelectric switch according to claim 2 or 3, characterized in that, A magnetic positioning sleeve (16) is installed inside the lower outer shell (11). A magnet (14) or an electromagnet is located inside the magnetic positioning sleeve (16). The magnetic positioning sleeve (16) is concentrically arranged with the guide cover (30). The magnetic positioning sleeve (16) is located inside the guide cover (30), and the outer diameter of the magnetic positioning sleeve (16) is smaller than the inner diameter of the guide cover (30).
5. A magnetic reset photoelectric switch according to claim 1, characterized in that, The optoelectronic module (20) includes a substrate (21), pins (22), a transmitter (23) and a receiver (24). There are two pins (22), which are symmetrically connected on one side of the substrate (21). The end of one pin (22) is connected to the transmitter (23), and the end of the other pin (22) is connected to the receiver (24).
6. A magnetic reset photoelectric switch according to claim 5, characterized in that, The upper outer shell (10) includes a rectangular cover (101), a fixing cover (102), and fixing holes (103). The fixing cover (102) is connected to the rectangular cover (101). The lower outer shell (11) and the substrate (21) are both located inside the rectangular cover (101). The length of the substrate (21) is adapted to the width of the rectangular cover (101). The thickness of the fixing cover (102) is less than the thickness of the rectangular cover (101). There are at least two fixing holes (103), which are opened on one side of the fixing cover (102).
7. A magnetic reset photoelectric switch according to claim 6, characterized in that, The lower outer shell (11) includes a base plate (111), a protective shell (112), and a support pad (113). The protective shell (112) is installed on one side of the base plate (111), and the magnetic positioning sleeve (16) is located inside the protective shell (112). The width of the protective shell (112) is smaller than the width of the base plate (111). The three sides of the base plate (21) are respectively attached to the rectangular cover (101), the support pad (113), and the base plate (111).
8. A magnetic reset photoelectric switch according to claim 7, characterized in that, The protective shell (112) has a connecting groove (1121) and a mounting groove (1122) on its two symmetrical sides. The connecting groove (1121) and the mounting groove (1122) are connected. The pin (22) is located inside the connecting groove (1121), and the transmitter (23) and receiver (24) are located inside the mounting groove (1122).
9. A magnetic reset photoelectric switch according to claim 6, characterized in that, A heat dissipation groove (1011) is provided on one side of the rectangular cover (101), and the heat dissipation groove (1011) corresponds to the position of the substrate (21). A wire channel (17) is provided on one side of the fixed cover (102), and the wire channel (17) corresponds to the position of the heat dissipation groove (1011).
10. A magnetic reset photoelectric switch according to claim 7, characterized in that, The base plate (111) and the protective shell (112) are an integral structure, and the rectangular cover (101) and the fixed cover (102) are an integral structure.