Page 1
No.DOC1094990 PRODUCT NAME IO-Link compatible 2-in-1 auto switch Setup Tool MODEL / Series / Product Number D-MH2# D-MH2E#...
Page 2
Table of Contents Safety Instructions Model Indication and How to Order Names and Functions of Product Parts Definition and terminology Mounting and Installation Installation method Wiring method 2-in-1 Auto Switch Overview Setup Tool Overview Setup Tool Settings Overview 3 Step Setting Mode All settings reference mode All settings reference mode ? Function Selection Mode...
Page 3
Safety Instructions These safety instructions are intended to prevent hazardous situations and/or equipment damage. These instructions indicate the level of potential hazard with the labels of “Caution,” “Warning” or “Danger.” They are all important notes for safety and must be followed in addition to International Standards (ISO/IEC) , and other safety regulations.
Page 4
Safety Instructions Caution SMC develops, designs, and manufactures products to be used for automatic control equipment, and provides them for peaceful use in manufacturing industries. Use in non-manufacturing industries is not allowed. Products SMC manufactures and sells cannot be used for the purpose of transactions or certification specified in the Measurement Act of each country.
Page 5
Operator This operation manual is intended for those who have knowledge of machinery using pneumatic equipment, and have sufficient knowledge of assembly, operation and maintenance of such equipment. Only those persons are allowed to perform assembly, operation and maintenance. Read and understand this operation manual carefully before assembling, operating or providing maintenance to the product.
Page 6
Cylinders or actuators include cylinders, air grippers, rotary actuators, and electrical actuators/cylinders. Hereafter, an “2-in-1 auto switch” is stated as an “2-in-1 ASW”. Design/Selection 1. Confirm the specifications. If the product is used with excess load applied or beyond the specification range, this may cause the product to be damaged or malfunction.
Page 7
12. Pay attention to leakage current. <2-wire type> When in the OFF state, a current (leakage current) flows to the load to operate the internal circuit. Load operating current (OFF condition) > Leakage current If the above criteria is not satisfied, the auto switch will not reset correctly (stays ON). Use a 3-wire auto switch if this specification cannot be satisfied.
Page 8
Wiring 1. Check the insulation of the wiring. If there is any poor insulation (contact with other circuits, grounding fault, or poor insulation between terminals, etc.) an over-current flows in, causing damage to the auto switch. 2. Wire separately from power lines or high voltage lines, avoiding parallel wiring or wiring in the same conduit.
Page 9
Operating Environment 1. Never use in an atmosphere containing explosive gases or dust. Auto switches are not explosion-proof. This may cause an explosion. 2. Do not use in an area where a magnetic field is generated. Auto switches will malfunction or magnets inside cylinders/ actuators will become demagnetized. 3.
Page 10
Maintenance 1. Perform the following maintenance periodically in order to prevent possible danger due to unexpected auto switch malfunction. 1) Secure and tighten auto switch mounting screws. If screws become loose or the mounting position is dislocated, retighten them after readjusting the mounting position.
Page 11
Model Indication and How to Order ○2-in-1 auto switch ○Setup Tool ○Options/Part numbers If an option is required independently, order using the following part numbers. Description Part number Remarks M8-4Pinsocket connector D-LH03A M12-4Pinsocket connector D-LH03B Connector for individual lead wires D-LH03C -10- No.DOC1094990...
Page 12
Names and Functions of Product Parts ○Part names (2-in-1 auto switch) •D-MH2### •D-MH2##V# ○Part names (Setup Tool) Operation LED: Displays the switch operating condition. LCD display: Displays the process data display, setting mode status and error code. The upper screen is normally displayed in a single green colour, and will display in a single red colour if an error occurs.
Page 13
■Definition and terminology Term Definition A phenomenon of repeatedly turning ON and OFF the switch output at high Chattering frequencies. A function that copies function settings (excluding settings related to output Copy function points). The setting time from when the signal of the connected 2-in-1 ASW reaches the Delay time set value to when the ON-OFF output actually begins working.
Page 14
Term Definition A difference between the ON and OFF points of the switch. A hysteresis is also referred to as hysteresis. It is a region set outside the ON width on the setup tool. Hysteresis Example: If the output point (SP1) is 688, the ON width (W_1) is 50, and the hysteresis (H_1) is 20: The hysteresis regions of switch output are 618 to 638 and 738 to 758.
Page 15
Term Definition This is the ON range of the switch output, which is set by a ± width relative to the output point set on the setup tool. ON width Example: When output point (SP1): 688, ON width (W_1): 50 The range of the process data output by the switch is 638 to 738.
Page 16
Mounting and Installation ■Installation method ○2-in-1 auto switch When mounting the 2-in-1 auto switch to the cylinder/actuator, a mounting bracket corresponding to the cylinder/actuator should be used. The mounting method depends on the cylinder/actuator type and tube inner diameter. When mounting a new sensor, confirm that the cylinder/actuator is of the built-in magnet type and then prepare a mounting bracket corresponding to the cylinder/actuator.
Page 17
■Wiring method ○Wiring connections ●Perform wiring connection work with the power supply turned OFF. ●Use a separate route for the product wiring. If wires and cables are routed together with power or high voltage cables, malfunction may result due to noise. ●If using a commercially available switching power supply, be sure to ground the frame ground (FG) terminal.
Page 18
Pin assignment of connector conversion parts ●Connector for individual lead wires Connector for individual lead Wiring wires Definition Connector colour Connector pin number Wire colour Blue Blue Power supply DC (−) N.C. N.C. Black Black OUT1 Brown Power supply DC (+) ●M8 4pin connector Wiring Definition...
Page 19
●M12 4pin connector Wiring Definition M8 Connector pin number Connector pin number Wire colour Blue Power supply DC (−) - - N.C. - - N.C. Black OUT1 Brown Power supply DC (+) -18- No.DOC1094990...
Page 20
2-in-1 auto switch wiring specifications (Pre-wired connector) M8 4-pin connector M12 4-pin connector : A pre-wired connector cannot directly be connected to the sensor monitor. ○Connection between the 2-in-1 auto switch and the setup tool ●When using a 2-in-1 auto switch with individual wires, fit the connector of the setup tool connector conversion part to the individual wires of the 2-in-1 auto switch as shown in the table below.
Page 21
2-in-1 Auto Switch Overview When power is supplied to the 2-in-1 auto switch, it outputs process data of -1000 to 1000 in response to the magnetic force of the magnet built into the cylinder/actuator. By mounting the 2-in-1 auto switch on the actuator and reading the process data value, it is possible to detect the position of the magnet.
Page 22
○High resolution range Within the determinable range of the process data waveform above, the range where the slope of the process data against the stroke is 100 [PD/mm] or more is defined as the high resolution range. Within the high resolution range, it is possible to determine stroke differences of approximately 0.2 mm *. When using the 2-in-1 auto switch to distinguish minute dimensional differences, adjust the installation position of the 2-in-1 auto switch so that the discrimination position is within the high resolution range.
Page 23
○Full-stroke detectable actuator An actuator in which the full stroke is smaller than the determinable range is considered as a full-stroke detectable actuator. By installing the 2-in-1 auto switch so that the midpoint of the stroke coincides with the midpoint of the determinable range (approximately 0 output), it is possible to determine over the entire stroke of the actuator with a single 2-in-1 auto switch.
Page 24
○Mounting a 2-in-1 auto switch •Actuators capable of full stroke detection With a full-stroke detectable actuator, by mounting the 2-in-1 auto switch at the recommended position, the position can be determined throughout the entire stroke. •Other actuators Adjust the 2-in-1 ASW position so that the point that needs to detect (workpiece gripping position, etc.) will be close to the centre (approximately 0 output) of the determinable range.
Page 25
Setup Tool Overview By using the 2-in-1 auto switch in combination with the setup tool, it is possible to use the 2-in-1 auto switch even without an IO-LINK master, etc. When the 2-in-1 auto switch is connected to the setup tool, the process data of the auto switch is displayed on the setup tool.
Page 26
○2 point setting type / 3 point setting type The 2-in-1 auto switch is available as a 2-point setting type and 3-point setting type, and the usage differs depending on the type. : It is not possible to switch between the 2-point setting type and the 3-point setting type later. •2 point setting type In this type, two points, SP1 and SP2, can be set.
Page 27
•Setting range and output detection range error The 2-in-1 auto switch has a settable range, and the output range cannot be set outside that range. With a 3-point setting type, the setting ranges of SP1, SP2, and SP3 cannot overlap. If you try to set one of the above conditions, a SW output detection range error will occur and an error code (Err) will be displayed.
Page 28
○Setting example for the 2-in-1 auto switch Finger position OUT1 OUT2 Origin position (SP1) Gripping position (SP2) Erroneous chuck (SP3) Other than the above. : There is no limit in the magnitude correlation between SP1 to SP3. -27- No.DOC1094990...
Page 29
For actuators with long strokes, it may be possible to use them by setting a delay time (refer to page 37) or using it in combination with a general purpose switch. By setting the delay time, it is possible to set it so that no output is generated when passing through the output range at high speed. (Be sure to set according to the actual operating environment).
Page 30
Setup Tool Settings Overview Turn ON the power After the power is turned on, the product identification code will be displayed for approximately one second, and then the device will switch to measurement mode. [Measurement mode] The state in which the 2-in-1 auto switch process data and switch operation are displayed after power is turned on.
Page 31
Mode Selection Selecting the Setup Tool Mode [LoC [read [read Writ] Ator]Pre only]Press Press the ss the the SET SET button button button [3 Step [View all [Function [Locator Mode] Setting settings] Selection Mode] Check the Mode] connected 2-in-1 Check the settings Select the settings of auto switch for each function...
Page 32
3 Step Setting Mode What is the 3 step setting mode? In this mode, only set values can be input in just three steps. Use this mode if you want to use the product immediately after changing only the set values. (The main screen currently displays the process data).
Page 33
All settings reference mode ■All settings reference mode When [read only] is displayed during mode selection, press the SET button to display [F 0]. This refers to the mode in which [F□□] is displayed and the set parameters for each function are displayed. The settings that can be checked are the parameters [F 0], [F 1], [F 2], [F 3], and [F 7].
Page 34
Function Selection Mode ■What is the function selection mode? When [read write] is displayed in selection mode, press the SET button to display [F 0]. This refers to the mode in which [F□□] is displayed and the settings of each function can be changed. Press the SET button for more than 2 seconds in function selection mode to return to measurement mode.
Page 35
●[F 2] How to set SP2 Page : The setting items are the same as [F 1]. Item Description Factory default setting Output point (SP2) Set the process data to switch output. (Not set) ON width (W_2) Set the ON range to the switch output. Hysteresis (H_2) Set an appropriate hysteresis to prevent chattering.
Page 36
■[F 0] Switch output specification switchover ●Setting of switch output NPN or PNP specification changeover The specification can be changed to NPN or PNP output in accordance with the configuration of your equipment. <Example> D-MH2*P: PNP output : It is a common setting for OUT1 and OUT2. ...
Page 37
<How to operate> Press the SET or DOWN button in function selection mode to display [F 0]. Moves to the setting of switch output NPN or PNP Press the SET button. specification changeover. Setting of switch output NPN or PNP specification changeover Press the UP or DOWN button to select the switch output specification.
Page 38
■[F 1] SP1 setting When the process data enters the output range of SP1, the output turns ON. <How to operate> Press the UP or DOWN button in function selection mode to display [F 1]. Press the SET button. Moves to the setting of output point (SP1). Setting of the output point (SP1) Press the UP or DOWN button to adjust the set value.
Page 39
[F 1] SP1 setting completed * Move to measurement mode by pressing and holding the SET button for more than 2 seconds. *: For the 3-point setting type, if the output range overlaps with the output range already set (SP2, SP3, etc.) when setting the output point, ON width, and hysteresis, a switch output detection range error will occur and (Err) will be displayed on the sub-screen (right).
Page 40
■[F 7] Digital filter setting The digital filter can be selected. Output chattering or display flicker in measurement mode can be reduced by setting the digital filter. <How to operate> Press the UP or DOWN button in function selection mode to display [F 7]. Press the SET button.
Page 41
■Screen display character list • Characters which can be displayed for each digit are as follows. (Display pattern of the 1st and 5th digits) A to Z can be displayed. It is also possible to display the same display pattern as that for other digits. (Display pattern for other digits) Q, X and Z and some symbols (slash (/), asterisk ()) cannot be displayed.
Page 42
■[F94] Power saving function settings The power saving function can be set. If no button is pressed for 10 minutes, the power saving function will be activated. The default setting is ON, and even if it is set to OFF, it will return to ON when the setup tool is switched off. <Procedure>...
Page 43
■[F96] Input signal check Input process data can be displayed in hexadecimal. <Procedure> In function selection mode, use the UP or DOWN button to display [F96]. Press the SET button. The display will move to the measurement PD input status display. Measurement PD input status display The input status of the measurement process data is displayed.
Page 44
■[F97] Copy function selection The set values can be copied. When the output specification is the same, this function becomes available. The SP settings (SP*, W*, H*) cannot be copied. Please set each switch separately. <How to operate> In this section, the source 2-in-1 auto switch will be referred to as 2-in-1 ASW(A), and the destination 2-in-1 auto switch will be referred to as 2-in-1 ASW(B) and 2-in-1 ASW(C).
Page 45
■[F99] Reset to default settings If the product settings are uncertain, the factory default values can be restored. <How to operate> Press the UP or DOWN button in function selection mode to display [F99]. Press the SET button. Moves to reset to default settings. Reset to default settings Press the UP or DOWN button [oFF] When (Not used) is...
Page 46
Locator mode ■What is the locator mode? When [LoC Ator] is displayed in selection mode and the SET button is pressed, [ off] or [ on ] is displayed on the top line and [LoC Ator] is displayed on the bottom line. This indicates the mode in which you set the start and end of the locator function.
Page 47
Other Settings ○Snap shot function The current indicated value can be set to the output points SP1 to SP3. In 3 step setting mode, simple setting mode, or function selection mode, select [SP#] for the display of the sub display (left). While the sub display (right) is flashing, press the UP and DOWN buttons simultaneously for 1 second or longer.
Page 48
IO-LINK ○Communication function This product can check the position measurement value, diagnostic information and switch output status using cyclic data communication via the IO-Link system. ○Data storage function The data storage function stores the IO-Link device parameter settings to the IO-Link master. With the IO-Link data storage function, the IO-link device can be replaced easily without re-setting the equipment construction or setting parameters.
Page 49
IO-Link parameter settings ○IODD file IODD (I/O Device Description) is a definition file which provides all properties and parameters required for establishing functions and communication of the device. IODD includes the main IODD file and a set of image files such as vendor logo, device picture and device icon.
Page 50
○Service data The tables below indicates the parameters which can be read or written by simple access parameter (direct parameters page) and ISDU parameters which are applicable to various parameters and commands. •Direct operation parameters Address Access Parameter name Default (decimal number) Value 0x07 0x0083(131)
Page 51
•System command (Index 2) In the ISDU index 0x002 SystemCommand (system command), the command shown in the table below will be issued. The button of each system command is displayed on the IO-Link setting tool. Click the button to send the system command to the product. Command Command name Evaluation method...
Page 52
•Event Event code Event Event class 0x8D03 Unadjusted 0x8D04 Nonvolatile memory readout abnormality 0x8D05 User data anomaly 0x8D01 Non-volatile memory time out Problems 0x8D06 Non-volatile memory write abnormality 0x8D0D Device ID abnormality 0x8CC0 OUT2 over current 0x8CD1 Temperature nomaly 0x8D60 Measurement range over...
Page 53
•Product individual parameters Index Data Access Initial Selection range (decimal Subindex Parameter name type 1 2 value Value/Range 4 number) 0x03FC 0: NPN 3 N or P (1020) 1: PNP 0x0456 Normally open NO or NC (1110) Normally closed 0x0460 0: -1000⇒1000 PD reverse (1120)
Page 54
Data type Data length Symbol Description (IO-Link standard) Bit[byte] UIntegerT 8[1] unsigned integer 16[2] IntegerT 16[2] signed integer -53- No.DOC1094990...
Page 55
Maintenance How to reset the product after a power loss or when the power has been unexpectedly removed The settings for the product are retained in memory prior to the power loss or de-energizing of the product. The output condition is also recoverable to that prior to the power loss or de-energizing. However, this may change depending on the operating environment.
Page 56
Troubleshooting When any failure occurs with this product, the following chart can be used to identify the cause of the failure. If a cause applicable to the troubles cannot be identified and normal operation is recovered by replacement with a new product, this indicates that the product itself is faulty. The product may fail depending on the operating environment (network configuration, etc.).
Page 57
Refer to Set up tool does not Not operating operate normally Problem No.11 Refer to Error is displayed Problem No.10 Refer to The display is wrong The display is unstable Problem No.12 Refer to The display turns off Problem No.13 Refer to Part of the display is missing...
Page 58
○Troubleshooting list Problem Problem Phenomenon Investigation method Countermeasures Possible causes Power supply Set the specified power Check the power supply voltage. failure supply voltage value. Mis wiring, Check the wiring. Connect the wire correctly. poor wiring Cannot be used in a welding Check to see if a ferromagnetic field environment or other Process data is...
Page 59
Problem Problem Phenomenon Investigation method Countermeasures Possible causes Output remains (1) Set the output point ON Indicator light (1) Check the output point setting. again. remains ON Incorrect output (2) Check the ON width and (2) Set the ON width and settings hysteresis set values.
Page 60
Problem Problem Phenomenon Investigation method Countermeasures Possible causes (1) Remove the noise and (1) Check for the possibility of static the noise source, turn the electricity or other noise being The indicator power off and then turn it Indicator lamp is applied.
Page 61
Problem Problem Phenomenon Investigation method Countermeasures Possible causes Check that a 4.75 to 5.25 VDC Use a mobile battery to Power supply Not operating mobile battery is used as the power power the setup tool and abnormal source. supply 4.75 to 5.25 VDC. Check that the power supply voltage Power supply Supply a voltage of 4.75 to...
Page 62
Problem Problem Phenomenon Investigation method Countermeasures Possible causes (1) Check the wiring of the setup tool. Make sure the wiring is not loose. (1) (2) Perform wiring (2) Check the wiring of the 2-in-1 auto correctly. switch. Make sure the wiring is (3) Correct the wiring not loose.
Page 63
○Error display function This function is to display error location and content when a problem or error has occurred. Error name Error indication Description Measures Turn the power off and remove the Over current There is an overcurrent in the load cause of the over current.
Page 64
Specifications ○2-in-1 auto switch Model D-MH2**(V)* Power supply voltage 18 to 30 VDC Current consumption 25 mA or less Internal voltage drop 0.5 V or less Current leakage 0.5 mA or less Max. load current 40mA (SW1, SW2 individually) Output specifications NPN or PNP 2 output (with over current protection)
Page 65
○Setup tool Model D-MH2E# Applicable sensor D-MH2# (2-in-1 auto switch) Power supply rating *2 *3 Mobile battery with 5 VDC 2 A or higher Current consumption 2 A or less Process data display range -1050 to 1050 Process data setting range -1050 to 1050 Sensor input: Connector...
Need help?
Do you have a question about the D-MH2 Series and is the answer not in the manual?
Questions and answers