Global Network HL-G1 User’s Manual Laser displacement SENSOR HL-G1 North America Europe Asia Pacific China Japan Europe ffHeadquarters ffAustria Panasonic Electric Works Europe AG Panasonic Electric Works Austria GmbH PEW Electronic Materials Europe GmbH ffBenelux ffGermany Panasonic Electric Works Sales Western Europe B.V. Panasonic Electric Works Czech s.r.o. Panasonic Electric Works Sales Western Europe B.V.
Thank you for purchasing the HL-G1-series Compact Laser Displacement Sensor. Please read this operation manual carefully before you install and operate the product. Refer to the website of Panasonic Electric Works SUNX Co., Ltd. (http://panasonic-electric-works.net/sunx) for the latest information on the product as well as the latest version of the manual. Liability and Copyright for the Hardware This manual and everything described in it are copyrighted.
Important Symbols The following symbols are used in this manual: Warning ! The warning triangle indicates especially important safety instructions. If they are not adhered to, the results could be fatal or critical injury. Caution ! Indicates that you should proceed with caution. Failure to do so may result in injury or significant damage to instruments or their contents, e.g. data. NOTE Contains important additional information. EXAMPLE Contains an illustrative example of the previous text section.
HL-G1 User's Manual Table of Contents Table of Contents 1. Introduction ............................................................................ 1 1.1 Safety Instructions ..................................................................................... 2 1.1.1 Safety Instructions for Laser Handling ....................................................... 3 1.1.2 Safety Instructions for Installation, Maintenance, and Inspection.............. 3 1.1.3 Safety Instructions for the Power Supply ..
Table of Contents HL-G1 User's Manual 3.4 I/O Circuit Diagrams .................................................................................28 3.5 Analog Output Circuit ...............................................................................30 3.6 When the Status of the Output Data Is Undefined ...................................31 3.7 Time Diagrams .........................................................................................33 4. Functions ..................................
HL-G1 User's Manual 4.4.4.4 4.4.5 Table of Contents Measurement Value Display on Panel............................................ 65 Analog Functions ..................................................................................... 65 4.4.5.1 Analog Output Selection ................................................................. 66 4.4.5.2 Analog Scaling ................................................................................ 67 4.4.6 Alarm Functions ................................
Table of Contents HL-G1 User's Manual 5.2.1.2 Write Command (Format 1) ............................................................95 5.2.1.3 Write Command (Format 2) ............................................................95 5.2.2 Read Status of the Sensor Outputs (Format 3)........................................96 5.2.3 Read Buffered Data from the Sensor Memory (Formats 4 – 6) ...............98 5.2.3.1 Read Buffered Data from Start to End Point (Format 4) .................98 5.2.3.
HL-G1 User's Manual 6.2 Table of Contents Settings for Programmable Display (GT Series).................................... 115 7. Troubleshooting ................................................................. 117 7.1 Problems and Remedies ....................................................................... 118 7.2 Initialize.................................................................................................. 121 8. Specifications ..................................................
Chapter 1 Introduction
Introduction HL-G1 User's Manual 1.1 Safety Instructions The laser is classified in accordance with JIS (JIS C 6802: 2005) and IEC (IEC 60825-1: 2007) standards. Technical specification Laser wavelength 655nm Maximum output 1mW Laser class 2 Familiarize yourself with all safety instructions to ensure safe handling of the device. The safety instructions are broken down according to the cause and location of danger.
HL-G1 User's Manual 1.1 Safety Instructions 1.1.1 Safety Instructions for Laser Handling Warning ! Danger of eye damage or burning your skin with exposed laser beam! Be careful not to stare at the laser beam directly or the reflected light of the mirror surface. Install the sensor so the laser beam will be located higher or lower than eye level in order not to watch the beam directly while the system is in operation. Contact the nearest office of Panasonic Electric Works SUNX Co., Ltd.
Introduction HL-G1 User's Manual - Areas exposed to vibration or shock at levels higher than those specified (see page 124) Areas exposed to contact with water Areas exposed to too much steam or dust The life of the semiconductor laser depends on the ambient temperature. Use the system within the range of the specifications (ambient temperature for sensor head: -10°C to 45°C for operation, -20°C to 60°C for storage. Ambient humidity: 35% to 85% RH).
HL-G1 User's Manual 1.1 Safety Instructions Inspection Inspect the system regularly to maintain the performance of the system and make it possible to use the system under optimum conditions. Check that no I/O terminal connections are loose or disconnected. Check that the glass surface on the laser aperture is free of dust, dirt, or fingerprints. Check that the power supply voltage is within the rated range (21.6 to 26.4V DC).
Introduction HL-G1 User's Manual The system will be ready to operate approximately 40 to 50 seconds after the system is turned ON, depending on the contents of settings. Note that the status of the outputs is undefined during startup. An analog voltage of 11V and an analog current of approximately 21.6mA will be output until the system becomes ready to operate. Do not turn OFF the system while system settings are being saved.
HL-G1 User's Manual 1.1 Safety Instructions 1.1.5 Safety Symbols and Identification Read the descriptions of the warning stickers carefully before use. The warning sticker (English) is affixed to the side of the sensor head. Warning stickers in Japanese, Korean, and Chinese are enclosed. Please also refer to the list of safety symbols used in this manual (see page ii). The positions of the stickers on the product are shown below.
Introduction HL-G1 User's Manual 1.2 CE Compliance To ensure compliance with CE regulations, install the product as follows: NOTE Make sure that the signal and power lines connected to the product are shorter than 30m. Attach a suitable ferrite core to the head cable as shown below.
HL-G1 User's Manual 1.3 Export to the US 1.3 Export to the US If the laser product is mounted on equipment and exported to the United States, it is subject to the regulation of the Food and Drug Administration (FDA). In order to prevent users from injury caused by laser products, the FDA specifies PART 1040 (Performance Standards for Light-Emitting Products). The FDA classifies laser products according to the degree of risk and provides safety measures for respective classes.
Introduction HL-G1 User's Manual 2. Required wherever and whenever such human access to laser radiation levels that exceed the limits of Class I is not necessary for the product to perform its intended function. 3. Required at the protective housing which is designed to be removed or displaced during operation or maintenance, if removal or displacement of the protective housing could permit human access to laser or collateral radiation. 4.
HL-G1 User's Manual The position of the sticker on the product is shown below. Sticker position on the product 1.
Chapter 2 Before Use
Before Use HL-G1 User's Manual 2.1 System Configuration This is how you connect the sensor head to other devices. Analog output Sensor head (standard type) Every I/O External devices (PLC etc.
HL-G1 User's Manual 2.2 List of Items and Accessories 2.2 List of Items and Accessories The following parts and accessories are available. Sensor heads Choose between the standard and the multifunction type. Standard type Multifunction type Instruction manual The sensor head instruction manual is in Japanese, English, German, Chinese, and Korean. Warning labels The warning label in English is attached to the sensor head. In addition, warning label in Japanese, English, Chinese, and Korean are supplied.
Before Use HL-G1 User's Manual Item Description Touch terminal Mounting brackets and screws Terminal block for the touch terminal The following GT series touch terminals can be used: Connection type Single connection Product name Display properties GT02G 3.
HL-G1 User's Manual 2.3 Parts Description 2.3 Parts Description 1 2 3 4 5 6 8 1 2 3 4 5 7 6 7 9 0 8 } 9 10 { 11 Laser indicator (LASER) Lights up in green during laser emission. Alarm indicator (ALARM) Lights up in orange if an alarm occurs during measurement. OUT1 indicator (OUT1) Lights up in yellow during OUT1 output. OUT2 indicator (OUT2) Lights up in yellow during OUT2 output. OUT3 indicator (OUT3) Lights up in yellow during OUT3 output.
Before Use HL-G1 User's Manual 2.4 Notes on Mounting When mounting the sensor, make sure to use the correct method. NOTE Before installing the sensor, read the safety instructions about the installation environment, noise countermeasures, and the power supply. Fix the sensor head securely with M4 screws inserted into the two screw holes of the sensor head. The tightening torque should be 0.8N•m or less. 2.4.
HL-G1 User's Manual 2.4 Notes on Mounting Do not pull the cable with a force of more than 29.4N when you connect the cable to the mounted sensor head. In the case of moving and using the sensor head, pay attention not to bend the cables in excess. The cable may be bent with a radius of 30mm or more. However, do not bend the cable within 20mm of the sensor head. For applications where cables need to be bent, use the multifunction sensor type because it uses replaceable connection cables. D R 2.4.
Before Use HL-G1 User's Manual Measurement of rotating targets When measuring a rotating target, mount the sensor head as shown below to minimize the adverse influence of vertical oscillation or displacement. Measurement of targets with level differences When measuring a moving target that has level differences, mount the sensor head as shown below to minimize interferences caused by the edges of the target.
HL-G1 User's Manual 2.4 Notes on Mounting Mounting the sensor head to a wall Mount the sensor head to the wall as shown below to ensure that the receiver does not receive light reflected from the wall at different angles. If there is a lot of reflection from the wall, paint the wall surface matte black. Sensor head angle to the center of measurement targets Mount the sensor head so that the emitter and receiver will be located parallel to each other as shown below.
Chapter 3 Inputs and Outputs
Inputs and Outputs HL-G1 User's Manual 3.1 Wiring Colors NOTE The sensor heads produced before December 2010 use different wire colors. Please check the wire colors on the sensor head you are using. Analog output lines Pin No. Signal name Function Lead wire color 7 A(V) Analog voltage output Black 8 AGND Analog ground Shielded single conductor 9 A(I) Analog current output 10 AGND Analog ground Shielded single conductor Gray I/O terminal block Pin No.
HL-G1 User's Manual 3.1 Wiring Colors The input NP acts as a toggle switch. When the input NP is OFF, the sensor head is in NPN mode. When the input NP is ON, the sensor head is in PNP mode. However, the input NP needs to be connected BEFORE you switch the sensor head ON, otherwise it will not work. The sensor head does not automatically save any of the setting changes you make over the MI input.
Inputs and Outputs HL-G1 User's Manual 3.2 MI Input The function of the MI (= multi input) signal is determined by the duration of the signal. To select a function, input the MI signal for the corresponding time t as listed in the table. MI t Input the MI signal for the desired period with a tolerance of ±10ms (t±10ms). You can input two or more MI signals consecutively if you leave a minimum interval of 10ms between the individual signals.
HL-G1 User's Manual 3.3 TM Input 3.3 TM Input The function of the TM (= timing) input is to control the measurement and judgment output. Depending on the timing mode you have selected (see page 77), inputting the TM signal works differently: When "Timing Mode" = "Hold": When the timing input is ON, the last measurement value and the judgment output is held until the timing input goes OFF.
Inputs and Outputs HL-G1 User's Manual 3.4 I/O Circuit Diagrams PNP type Lead wire color (Brown) +V (Black) OUT1: Output 1 50mA max. Load (White) OUT2: Output 2 50mA max. Load (Gray) OUT3: Output 3 50mA max. Load Main circuit (Pink/Purple) NPN/PNP type switching input Main power supply 24V DC ± 10% Ripple 0.
HL-G1 User's Manual 3.4 I/O Circuit Diagrams NPN type Lead wire color Main circuit (Brown) +V (Black) OUT1: Output 1 50mA max. Load (White) OUT2: Output 2 50mA max. Load (Gray) OUT3: Output 3 50mA max. Load External power supply 3 to 24V DC (Pink/Purple) NPN/PNP type switching input Main power supply 24V DC ± 10% Ripple 0.5 V (peak-to-peak) included 3.3V (Pink) TM: Timing Input 3.
Inputs and Outputs HL-G1 User's Manual 3.5 Analog Output Circuit Lead wire color 0 – 11V Main circuit 100Ω AGND (Black) Analog voltage output: A (V) (Shield) Analog ground: AGND +V 3.2 – 22mA (Gray) Analog current output: A (I) 22Ω AGND Sensor head internal circuit (Shield) Analog ground: AGND External connection example NOTE 30 Do not short-circuit the analog output terminals. Do not apply voltage to the analog output terminals. Use shielded wires for the analog output terminals.
HL-G1 User's Manual 3.6 When the Status of the Output Data Is Undefined 3.6 When the Status of the Output Data Is Undefined During the operation of the system it is possible that the status of the output data becomes undefined, i.e. there is no determined value to be output. This is not the same as the alarm status, when the alarm indicator lights up in orange.
Inputs and Outputs HL-G1 User's Manual This is an example of how the status of the output data becomes undefined after a reset signal while the system is starting to measure the distance again. 1 t 1 Reset signal (MI signal ON for 80ms) t Time during which the output data is undefined, i.e. time period during which the sensor measures the distance again. This system behaves differently when the output data is undefined and when the alarm is ON (the alarm indicator is lit up in orange).
HL-G1 User's Manual 3.7 Time Diagrams 3.7 Time Diagrams Depending on the measurement type and setting of the parameter "Timing Mode" (see page 77), the timing of the sensor is different. NOTE The function of the MI input is determined by the duration (t) of the signal.
Inputs and Outputs 3 Zero-set function 4 Reset function 5 Laser operation HL-G1 User's Manual Normal measurement with "Timing Mode" = "One-Shot" B Zero A C 1 2 ON MI 3 ON 2 2 OFF 4 2 4 OFF ON ON ON OFF 3 3 OFF 4 ON TM A Sensor measurement B Sensor measurement and output C Zero-set signal is ignored becase the output data status is undefined MI Function of MI input depends on signal duration, see table at the top 1 Output data status is undefined 2 Zero-set function 3 Reset
HL-G1 User's Manual C Sensor measurement and output 1 Output data status is undefined 2 Reset function 3.7 Time Diagrams NOTE 1. When "Timing Mode" = "Hold", it is possible to use the set-to-zero function while the input TM is ON. 2. When "Timing Mode" = "Hold" and TM is ON, selecting the reset function with the input MI causes the output data status to become undefined and remain so until TM turns OFF. 3. While the output data status is undefined, the system will ignore the zero-set signal. 4.
Inputs and Outputs HL-G1 User's Manual Signal processing when more than one signal is ON The table gives an overview of the system behavior when two signals occur at the same time. Signal = ON Behavior when timing signal is input (TM switches ON) Behavior when reset signal is input Set-to-zero signal (ON/OFF) Sensor sets digital display to zero and outputs the analog output selected for zero. These signals cannot occur simultaneously as both are controlled by the MI input (see page 26).
Chapter 4 Functions
Functions HL-G1 User's Manual 4.1 Classification of Functions In this table, all functions are classified into eight categories. Classification Digital display Function Sensing functions Function settings for controlling the received light intensity of the sensor. Data processing functions Function settings for processing measurement values. Output functions Function settings related to output data processing. Analog functions Function settings related to analog output processing.
HL-G1 User's Manual 4.2 List of Functions and Default Settings 4.2 List of Functions and Default Settings There are two types of settings: 1. Settings that can be saved individually per memory (i.e. 4 different sets of settings). To change to a different set of settings, select another memory (see page 50). 2.
Functions HL-G1 User's Manual Output functions Function name Description Default setting Judgment output selection (see page 60) Selects the output operation of OUT1 – OUT3. 2-state (OUT1 and OUT2) Sets threshold a +(detection range) Sets threshold b -(detection range) Sets hysteresis +(0.2% of setting range) Judgment output OFF delay (see page 63) Delays the switching OFF of the judgment output.
HL-G1 User's Manual 4.2 List of Functions and Default Settings COM functions These functions are only available for the multifunction type of the sensor. Function name Description Default setting Terminating resistor selection (see page 71) Selects the terminating resistor for a sensor head connected to a host device via RS422/485. R3 Sensor number (see page 72) Sets the number of each sensor head when several sensors have been connected to a host device via RS485.
Functions HL-G1 User's Manual Function name Description Default setting Type of setting Trigger delay (see page 80) Sets a delay time for trigger detection (only valid if "Buffering Mode" is set to "Trigger"). 0 Trigger condition (see page 80) Sets the condition which is used to generate the trigger for buffering (only valid if "Buffering Mode" is set to "Trigger"). ON Buffering operation (see page 80) By default, buffering is performed continuously with the parameters set in advance.
HL-G1 User's Manual 4.3 Control Panel and Digital Display 4.3 Control Panel and Digital Display The measurement functions of the sensor are controlled via the control panel. The currently selected function or setting is shown in the digital display. NOTE In order to ensure the performance of the system, allow a warm-up time of at least 30 minutes after the system is turned ON. The control panel of the sensor head looks as shown below.
Functions HL-G1 User's Manual Item Description Sensor type Alarm status The function "Digital Output at Alarm" (see page 69) can be set to a fixed value. 30mm type Digital display 50/80/120mm type 4.3.1 Basic Operation The following section explains how to operate the sensor after you switch it ON.
HL-G1 User's Manual 3 4.3 Control Panel and Digital Display Zero set (see page 85) Sets the measurement value in the digital display as zero. 4 Reset (see page 85) Resets the measurement value kept on hold by the sensor. 5 Threshold a (see page 62) Sets an upper limit for judging the measurement value. 6 Threshold b (see page 62) Sets a lower limit for judging the measurement value. 7 Initialize (see page 45) Resets all settings to the default settings.
Functions HL-G1 User's Manual system will operate with the settings valid before the initialization at the next system start. 1. 2. 3. While the initialization is executed, the output data status may become undefined temporarily. Procedure 1. + switch power ON After the start-up screen, the digital display shows "Init". The memory is initialized and the system is set to RUN mode 4.3.1.
HL-G1 User's Manual Run mode 4.
Functions Run mode HL-G1 User's Manual Setting mode Analog functions Analog output selection Measurement value A Current a (see note 1) Voltage a (see note 2) Measurement value B Current b (see note 1) Voltage b (see note 2) Alarm functions Analog output at alarm Digital output at alarm Alarm delay times COM functions Terminating resistor selection Sensor number Baud rate Connection mode System functions Timing mode Laser control Eco mode View version 2 seconds Press [ENTER] for at least 2 secon
HL-G1 User's Manual 4.3 Control Panel and Digital Display 4.3.3 Shortcuts Some sensor functions can be accessed quickly with the help of a shortcut. This way, you do not have to navigate through the complete function menu to make settings. The following shortcuts are available: Shortcut keys Function name Description Zero set (see page 85) Sets the measurement value in the digital display as zero. Reset (see page 85) Resets the measurement value kept on hold by the sensor.
Functions HL-G1 User's Manual 4.4 Function Settings The following sections provide detailed information on how to set and use the functions. 4.4.1 Memory Selection Selects the memory for editing settings. To perform measurements with the settings saved in the selected memory, you need to switch the sensor head OFF and ON again. The sensor has 4 memories, M0 to M3, that act as user profiles for saving different sets of measurement settings individually. The bold table entry indicates the default setting.
HL-G1 User's Manual 4.4 Function Settings After you have changed the settings for a memory, you need to switch the sensor head OFF and then ON again to work with the memory and its changed settings. Selecting a different memory may result in a status when the output data is undefined (see page 31). If setting changes are made with a serial communications command, save the changes so that the changes will be reflected when the system is turned ON again.
Functions 1. 2. 3. HL-G1 User's Manual Procedure 1. 2s 2. 3. 4. 5. 6. to confirm 4.4.2.2 Shutter Time Controls the receiving light intensity of the sensor. Depending on the properties of the object to be measured, the amount of reflected light differs. If the shutter time is set to "Auto", the light intensity feedback function automatically modifies the light intensity to an optimum level.
HL-G1 User's Manual 1. 2. 3. 4.4 Function Settings Procedure 1. 2s 2. 3. 4. 5. 6. 7. to confirm 4.4.2.3 Light Intensity Monitor Indicates the currently received light intensity. The peak light intensity will be displayed in a range of 0 to 4095. The light intensity is good when the light intensity monitor displays a value from approximately 1000 to 1300. 1. 2. 3. Procedure 1. 2s 2. 3. 4. 5.
Functions HL-G1 User's Manual 4.4.3 Data Processing Functions This function menu contains settings for processing measurement values. 4.4.3.1 Average Function Sets the number of measurements needed for the average function. Use the function to stabilize unstable measurement values and to eliminate variations. This function works as a moving average function with FIFO.
HL-G1 User's Manual 4.4 Function Settings NOTE Until the moving-average buffer reaches the number of values set here, the output data status is undefined (see page 31). An alarm will prevent the sensor from storing measurement values in the moving-average buffer. That means, if an alarm occurs and the moving-average buffer is empty, the alarm has to be turned OFF before the moving-average buffer starts to buffer measurement values.
Functions HL-G1 User's Manual 4.4.3.2 Analysis Mode (Measuring Mode) Sets the measuring mode. There are 4 measuring modes available. The bold table entry indicates the default setting. Setting Sample measurement NORMAL Function Digital display The measurement value is output in real time. PEAK Holds and outputs the maximum measurement value. VALLEY Holds and outputs the minimum measurement value. Holds and outputs the difference between the maximum and minimum values (see note).
HL-G1 User's Manual 6. 4.4 Function Settings 3x 7. to confirm 4.4.3.3 Span Sets the multiplication factor for the measurement value. The formula for calculating the value to output is: final measurement value = span x measurement value + offset 2 Output 3 4 1 5 1 Offset value 2 Final measurement value 3 Measured value 4 Spanned measured value 5 Center point of measurement Setting range Function 0.1000 to +9.9999 Set a factor in the range from 0.1000 to +9.9999. 1. 2. 3.
Functions HL-G1 User's Manual 2. 3. 4. 5. 3x 6. to display the current scaling factor The leftmost digit is selected. Press and together to select the next digit. 7. to change the selected digit 8. to confirm 4.4.3.4 Offset Sets an offset value to be added to/subtracted from the measurement value. Setting range Function Default setting Set an offset in a range from 95000 to +95000. -95000 to +95000 (The position of the decimal point varies with each model.
HL-G1 User's Manual 1. 2. 3. 4.4 Function Settings Procedure 1. 2s 2. 3. 4. 5. 3x 6. The leftmost digit is selected. Press together to select the next digit. 7. to change the selected digit 8. to confirm and 4.4.3.5 Zero-set OFF Works as a toggle switch for the zero-set function for measurement values. Setting Function Zero set is ON The reset signal will set the display to 00000. Zero set is OFF The displays shows the current measurement value.
Functions 1. 2. 3. HL-G1 User's Manual Procedure 2s 1. 2. 3. 4. 5. 4x 6. 7. or 8. to confirm 4.4.4 Output Functions This function menu contains settings related to output data processing. 4.4.4.1 Judgment Output Selection Selects the output operation of OUT1 – OUT3. NOTE 60 OUT3 usually serves as the alarm output. If you select the setting "3-state", alarms will not be output, as OUT3 will be used for the third judgment result.
HL-G1 User's Manual 4.4 Function Settings The bold table entry indicates the default setting. Setting Display OUT1 OUT2 OUT3 Threshold a Threshold b Displacement (+) Logic Judgment 1 Independent Judgment 1 Judgment 2 Judgment 2 Alarm OUT1 OUT2 ON OFF Alarm OUT1 ON OFF OUT2 2-state Judg- Judg- Alarm OUT1 ment 1 ment 2 OUT2 3-state 1. 2. 3.
Functions HL-G1 User's Manual 4.4.4.2 Displacement Judgment Sets an upper limit (threshold a), a lower limit (threshold b), and the hysteresis for the judgment of measurement values. Item Digital display Setting range Threshold a -95000 to +95000 Threshold b -95000 to +95000 Hysteresis 0 to +95000 The following default values apply: Measurement center distance Threshold a Threshold b 30mm +4mm -4mm 8μm 50mm +10mm -10mm 20μm 85mm +20mm -20mm 40μm 120mm +60mm -60mm 120μm 1. 2. 3.
HL-G1 User's Manual 4.4 Function Settings NOTE Threshold a needs to be larger than threshold b. However, if the user enters the values the wrong way round, the sensor will automatically use the lower value as threshold b. The position of the decimal point varies with each model. 4.4.4.3 Judgment Output OFF Delay Delays the switching OFF of the judgment output. NOTE This function is useful when the judgment output needs to be transmitted to a control device, but changes too quickly.
Functions HL-G1 User's Manual t t ON OUT1 OFF t t t ON OUT2 OFF t ON OUT3 OFF The solid lines shows when the turn-OFF signal is input. The dotted lines show how the time t set with this function delays the switching OFF of the judgment output. NOTE If an output has not turned OFF yet because the delay time has not elapsed, and the output receives the next ON signal, the delay will be canceled even though it has not been completed.
HL-G1 User's Manual 4.4 Function Settings 4.4.4.4 Measurement Value Display on Panel This function sets the number of rightmost digits to be turned OFF on the digital display. The bold table entry indicates the default setting. Setting Function FULL All digits are displayed. Set 1 The rightmost digit is OFF. Set 2 The two rightmost digits are OFF. 1. 2. 3. Digital display Example Procedure 1. 2. 2s 3x 3. 4. 5x 5. 6. 7. or to change the setting to confirm 4.4.
Functions HL-G1 User's Manual 4.4.5.1 Analog Output Selection Selects the output type for the analog output: current or voltage The selected analog output will be accurate. The bold table entry indicates the default setting. Setting Function Current Output current Voltage Output voltage 1. 2. 3. Digital display Procedure 1. 2s 2. 3. 4. 5. 6.
HL-G1 User's Manual 4.4 Function Settings 4.4.5.2 Analog Scaling This function scales the current or voltage to any value. Any two measurement values can be used for A and B. Set which current or voltage to output for measurement value A and B. The analog output for measurement values between A and B will be interpolated, see figure below.
Functions HL-G1 User's Manual NOTE The display limit of the measurement value is ± 95000. Make sure that the setting value does not exceed the display limit. Before you make a setting, check the input range of your input device, e.g. an AD board. The position of the decimal point varies with each model. 1. 2. 3. Procedure 1. 2s 2. 3. 4. 2x 5. The leftmost digit is selected. Press and together to select the next digit. 6. to change the selected digit 7. to confirm 4.4.
HL-G1 User's Manual 4.4 Function Settings When an alarm has occurred, for example when the sensor cannot measure the distance because it is too dark, the analog output can be kept on hold or set to a fixed value. The bold table entry indicates the default setting. Setting Function Digital display Hold Holds the analog output immediately before the alarm. The analog output depends on the setting for the analog output (see page 66). Fixed value 21.6mA for current output +11.
Functions 1. 2. 3. HL-G1 User's Manual Procedure 1. 2s 5x 2. 3. 4. 5. 6. or 7. to change the setting to confirm 4.4.6.3 Alarm Delay Sets the number of measurement attempts to be made before an alarm is output. When an alarm occurs, for example because measurement was not possible due to lack of light, it will not be output immediately. Instead, the sensor holds and displays the last normal measurement value until the number of times set here has been reached.
HL-G1 User's Manual 1. 2. 3. 4.4 Function Settings Procedure 1. 2s 5x 2. 3. 4. 2x 5. The leftmost digit is selected. Press and together to select the next digit. 6. to change the selected digit 7. to confirm 4.4.7 COM Functions (Multifunction Type Only) This function menu is available only for the multifunction type and is used for serial communication. 4.4.7.1 Terminating Resistor Selection Selects the terminating resistor for a sensor head connected to a host device via RS422/485.
Functions HL-G1 User's Manual Setting Function OFF Turn OFF terminating resistors R1 Terminating resistor R1 R2 Terminating resistor R2 R3 Terminating resistor R3 1. 2. 3. Digital display Procedure 1. 2s 6x 2. 3. 4. 5. or to change the setting to confirm 6. 4.4.7.2 Sensor No. Sets the number of each sensor head when several sensors have been connected to a host device via RS485. NOTE Set a unique number for each connecting sensor so that there are no duplicate numbers.
HL-G1 User's Manual 1. 2. 3. 4.4 Function Settings Procedure 1. 2s 6x 2. 3. 4. 5. 6. or to change the setting (see note) 7. NOTE Press speed. and together for at least 2s to change the number at high 4.4.7.3 Baud Rate Sets the communication speed. NOTE Lower the communication speed if the communication with the host device is not stable.
Functions HL-G1 User's Manual Setting Function 38400 38,400bps 115200 115,200bps 230400 230,400bps 460800 460,800bps 921600 921,600bps 1. 2. 3. Digital display Procedure 1. 2s 6x 2. 3. 4. 2x 5. 6. or to change the setting 7. 4.4.7.4 Connection Mode Selects the transmission settings for measurement data output to the host device. NOTE 74 For connection mode RS422, the host device needs to be connected for 1:1 communication (see page 89).
HL-G1 User's Manual 4.4 Function Settings For connection mode RS485, the host device needs to be connected for 1:n communication (see page 90). You can connect up to 16 sensor heads this way. Connection mode Setting Function Transmits the result data in response to a request command from the host device. All commands can be received. RS422 Handshake RS422 RS422 Timing Outputs the measured value in the serial output format (see page 101) when timing input is ON while the system is in this mode.
Functions HL-G1 User's Manual 4.4.7.5 Sending Delay Time Sets the delay with which the sensor responds to a serial command sent by the host device. Use this function if "Connection Mode" is set to "RS485 Multiple" (default setting). Setting 0 Function No delay time 0.1 Delay time of 0.1ms 0.2 Delay time of 0.2ms 0.5 Delay time of 0.
HL-G1 User's Manual 4.4 Function Settings 5. 6. 7. or to change the setting to confirm 4.4.8 System Functions This function menu contains system functions for timing and eco mode, laser control, and version information. 4.4.8.1 Timing Mode Determines how the sensor head works when the timing input is ON. For information on how the timing signal influences the system behavior, refer to the time diagrams (see page 33). The bold table entry indicates the default setting.
Functions HL-G1 User's Manual 4.4.8.2 Laser Control Switches the laser emission ON and OFF. Use this function to stop laser emission when the system is not needed for measuring. The bold table entry indicates the default setting. Setting Function Digital display Emission Laser emission is ON. Stop Laser emission is OFF. NOTE Note that the status of the output data becomes undefined (see page 31) when you switch the laser emission from OFF to ON. 1. 2. 3. Procedure 1. 2. 2s 7x 3. 4. 5. 6. 7.
HL-G1 User's Manual 4.4 Function Settings 4.4.8.3 Eco Mode Turns OFF the LED indicators on the control panel to save energy while the system is in RUN mode. The bold table entry indicates the default setting. Setting Function Digital display Eco-OFF No Eco mode has been activated. Eco-ON Only the LEDs forming the digital display will be turned OFF. Eco-FULL All the LEDs will be turned OFF. NOTE The LEDs are always lit when the system is in setting mode.
Functions HL-G1 User's Manual 4.4.8.4 View Version Displays the version of the firmware. 1. 2. 3. Procedure 1. 2s 7x 2. 3. 4. 3x 5. to display the current firmware version 4.4.9 Buffering Functions (Multifunction Type Only) Buffering is a function to accumulate measurement data in the built-in memory of the sensor so that you can load the data to an external control device such as a PC. A maximum of 3,000 measurement data items can be accumulated.
HL-G1 User's Manual 4.4 Function Settings Data buffering The data buffering works as shown below. HL-G1 PC (Host device) 1 Make necessary settings for buffering. • • • • • • Buffering mode Buffering rate Data amount to be accumulated Trigger condition Trigger delay Trigger point (1) Send settings 2 Start buffering by sending a serial command. (2) Buffering start 3 Data accumulation begins according to (3) Accumulation start the buffering mode selected.
Functions HL-G1 User's Manual With "Trigger", the trigger generation will be on stand-by when buffering the measurement data starts. The measurement data before and after the trigger point occurs will be accumulated in the built-in memory of the sensor. Buffering continues until either the amount of data to accumulate has been reached or the sensor receives a stop command.
HL-G1 User's Manual 4.4 Function Settings setting range is 0 to 65535 (default setting: 0). The status during the trigger delay time is "Accumulating." Trigger condition This function specifies under which condition the trigger is generated when "Buffering Mode" is set to "Trigger". There are 5 conditions available. The default setting is "When TM input turns ON".
Functions HL-G1 User's Manual Status Details Non-buffering Buffering is not executed at all after the power supply has been turned on or after initialization or buffering is stopped while waiting for the trigger after buffering has started. Waiting for trigger Buffering has started and the sensor is waiting for the trigger. Accumulating Buffering has started and measurement data is being accumulated or the trigger has been generated and measurement data is being accumulated.
HL-G1 User's Manual t 4.4 Function Settings Function 480ms Save (see page 46) 530ms Laser ON (see page 78) 580ms Laser OFF (see page 78) 4.4.10.1 Zero Set By inputting the MI signal for 30ms you set the current measurement value and the digital display to zero. There are two other ways to perform a zero set: In run mode, press Send the serial command RZS and together For information on how the zero-set signal influences the system behavior, refer to the time diagrams (see page 33). 4.
Chapter 5 Serial Communication via RS422/485
Serial Communication via RS422/485 HL-G1 User's Manual 5.1 Communication Specifications The communication specifications of the sensor are listed in the table.
HL-G1 User's Manual 5.1 Communication Specifications NOTE The sensor heads produced before December 2010 use different wire colors. Please check the wire colors on the sensor head you are using. 5.1.2 Connection Example Please refer to the examples below for information on how to connect the sensor to an external device. NOTE The cables used for sending and receiving data should be twisted-pair cables. The shield is connected to the 0V side of the power supply line inside the sensor. 5.1.2.
Serial Communication via RS422/485 HL-G1 User's Manual 5.1.2.2 1:n Communication via RS485 Set "Connection Mode" to "RS485 Multiple". Set a unique number for each connecting sensor so that there are no duplicate numbers (see page 72). RS485 host device +SD –SD HL-G1 Sensor No. 01 +RD –RD Shield (Green) transmission data: +SD Terminating resistor OFF (Sky Blue) transmitted data: –SD (Orange) received data: +RD (see notes) (Yellow) received data: –RD (Shield) HL-G1 Sensor No.
HL-G1 User's Manual 5.2 Serial Commands 5.2 Serial Commands An external device such as a PLC can use serial communication to request different types of data from the sensor or send new parameter settings or setting values to the sensor. All commands used in serial communication are structured in a specific way. If the PLC sends a command with a different structure, the sensor will return an error code (see page 102).
Serial Communication via RS422/485 HL-G1 User's Manual The communication sequence works as follows: External device needs data from the sensor External device sends command to the sensor to send data External device reads error code sent by sensor Sensor reads command from the external device Sensor sends error code to external device No Valid command? Yes Sensor sends requested data to external device Valid response? Yes External host device processes data sent by the sensor 92 No
HL-G1 User's Manual 5.2 Serial Commands 5.2.1 Read and Write Settings or Numerical Values The following read and write commands can be used by a PLC or other external device to read or write settings or numerical values from or to the sensor. NOTE Format 1 and 2 only differ in the number of digits transmitted. Format 1 uses 5 characters for the numerical value, format 2 uses 7 characters. Both formats use 1 character for the +/- sign in front of the numerical value. Zeroes are not suppressed.
Serial Communication via RS422/485 HL-G1 User's Manual EXAMPLE Use this command to read the sampling cycle currently selected for sensor 1. A normal response from the sensor would be as follows: Normal response (format 2) If the command can be interpreted correctly by the sensor, this is the normal response. If the sensor cannot interpret the command correctly, the sensor returns an error code (see page 102). 1 Sensor number 2 Command the sensor has received. 3 Block with the requested data.
HL-G1 User's Manual 5.2 Serial Commands 5.2.1.2 Write Command (Format 1) Request command from the external device Use this command to write 5-digit values for function settings in the sensor. 1 Number of the sensor to which the request is sent 2 Command sent to the sensor. Select the appropriate command from the command tables (see page 104). 3 Block of data to be written to the sensor. 1 character for +/- and 5 characters for integers (zeros are not suppressed).
Serial Communication via RS422/485 HL-G1 User's Manual 1 Number of the sensor to which the request is sent 2 Command sent to the sensor. Select the appropriate command from the command tables (see page 104). 3 Block of data to be written to the sensor. 1 character for +/- and 7 characters for integers (zeros are not suppressed). 4 BCC Normal response from the sensor If the command can be interpreted correctly by the sensor, this is the normal response.
HL-G1 User's Manual 1 Number of the sensor to which the request is sent 2 Command to read the status of all outputs 3 BCC 5.2 Serial Commands Normal response from the sensor If the command can be interpreted correctly by the sensor, this is the normal response. If the sensor cannot interpret the command correctly, the sensor returns an error code (see page 102). 1 Sensor number 2 Command the sensor has received. 3 Measured value.
Serial Communication via RS422/485 1 Measured value =+2.500 [mm] 2 Light intensity = 567 3 Status of the outputs (0 = OFF, 1 = ON). HL-G1 User's Manual OUT1 = OFF OUT2 = ON OUT3 = OFF ALARM = OFF 4 BCC 5.2.
HL-G1 User's Manual 5.2 Serial Commands Normal response from the sensor If the command can be interpreted correctly by the sensor, this is the normal response. If the sensor cannot interpret the command correctly, the sensor returns an error code (see page 102). 1 Sensor number 2 Command the sensor has received. 3 Buffered data from start to end point 4 BCC 5.2.3.
Serial Communication via RS422/485 HL-G1 User's Manual Normal response from the sensor If the command can be interpreted correctly by the sensor, this is the normal response. If the sensor cannot interpret the command correctly, the sensor returns an error code (see page 102). 1 Sensor number 2 Command the sensor has received. 3 Measured value at start point. 1 character for +/- and 7 characters for integers (zeros are not suppressed).
HL-G1 User's Manual 1 Number of the sensor to which the request is sent 2 Command to read the buffered data from the sensor memory 3 Start point (0001 – 3000) 4 End point (0001 – 3000) 5 BCC 5.2 Serial Commands Normal response from the sensor If the command can be interpreted correctly by the sensor, this is the normal response. If the sensor cannot interpret the command correctly, the sensor returns an error code (see page 102). 1 Sensor number 2 Command the sensor has received.
Serial Communication via RS422/485 HL-G1 User's Manual 5.2.5 Error Response and Error Codes If the sensor cannot interpret the command it has received, for example because the command did not use the correct structure or was garbled during transmission, the sensor will send an error response containing an error code.
HL-G1 User's Manual 5.2 Serial Commands 5.2.6 BCC Creation BCC is a horizontal parity check code used to improve the reliability of data communication. The sensor calculates the exclusive OR from the header (%) to the end character of the data. The resulting 8-bit data exclusive OR is converted to a 2-character ASCII code. The sensor then compares the 2-character ASCII code with the transmitted BCC value.
Serial Communication via RS422/485 HL-G1 User's Manual 5.2.7 Command List The following tables list the serial communication commands available. NOTE The data consists of a 5- or 7-digit decimal figure (zeroes are not suppressed). The "Command" column is split in two: On the left side, you find the READ commands (starting with the letter "R"), on the right side, you find the WRITE commands (starting with the letter "W"). 5.2.7.
HL-G1 User's Manual 5.2 Serial Commands 5.2.7.3 Output Settings Function name Command Judgment output selection Displacement Judgment ROD WOD Threshold a RHA WHA Threshold b RHB WHB Hysteresis RHH WHH Judgment output OFF delay Measurement value display on panel ROF RDS WOF WDS Data Setting [unit] +00000 Logic +00001 Independent +00002 2-state +00003 3-state -9500000 – +9500000 -950.0000 – +950.0000 [mm] +0000000 – +9500000 +000.0000 – +950.
Serial Communication via RS422/485 HL-G1 User's Manual 5.2.7.5 Alarm Settings Function name Command Analog output at alarm RAA WAA Digital output at alarm RAD WAD Alarm delay RHC WHC Data Setting [unit] +00000 Hold +00001 Fixed value +00000 Hold +00001 Fixed value +00000 – +65535 Format 1 +00000 – +65535 [times] (0: OFF, 65535: Previous normal value kept on hold) 5.2.7.
HL-G1 User's Manual 5.2 Serial Commands 5.2.7.7 Read Commands Function name Command Data Setting [unit] -950.0000 – +950.
Serial Communication via RS422/485 Function name Read buffered data Read differential data Read binary data 108 Command RLA RLB RLC — — — Data — — — HL-G1 User's Manual Setting [unit] 5-character head point + 5-character end point Specify the head data point and the end data point. 5-character head point + 5-character end point Specify the head data point and the end data point. 5-character head point + 5-character end point Specify the head data point and the end data point.
Chapter 6 Address List for MEWTOCOL Communication
Address List for MEWTOCOL Communication HL-G1 User's Manual 6.1 Introduction If you connect the sensor to a Panasonic PLC (FP series) or programmable display (GT series), you can use the data registers (DT registers) for communication. In addition to the DT registers listed here, the data area DT01900–DT01949 is an open area and can be used as desired. NOTE The sensor may react in an unexpected way when it receives an unknown command.
HL-G1 User's Manual 6.1 Introduction Normal response from the sensor If the command can be interpreted correctly by the sensor, this is the normal response. If the sensor cannot interpret the command correctly, the sensor returns an error code (see page 102). 5 % $ R D 6 X161 X160 X163 X162 1 2 5 6 CR X161 X160 X163 X162 3 4 1 Sensor number 2 Start address (5 characters) 3 Last address (5 characters) 4 BCC 5 Lower word 6 Higher word 6.1.1.
Address List for MEWTOCOL Communication 6 BCC 7 Lower word 8 Higher word HL-G1 User's Manual Normal response from the sensor If the command can be interpreted correctly by the sensor, this is the normal response. If the sensor cannot interpret the command correctly, the sensor returns an error code (see page 102). % $ W D 1 CR 2 6.1.2 Sensing Settings Address Item Data range Write Read DT00050 Sampling cycle DT00051 Shutter time 0–3 OK OK 0–31 OK OK Comment 6.1.
HL-G1 User's Manual 6.
Address List for MEWTOCOL Communication Address Item Data range DT00108 Initialize DT00109 Save DT00111 DT00112 HL-G1 User's Manual Write Read 0–1 OK — 0–1 OK — Timing 0–1 OK OK Reset 0–1 OK OK Write Read — OK Comment 6.1.
HL-G1 User's Manual 6.2 Settings for Programmable Display (GT Series) 6.2 Settings for Programmable Display (GT Series) For more details about these settings, refer to the User's Manual (dedicated Console Version).
Chapter 7 Troubleshooting
Troubleshooting HL-G1 User's Manual 7.1 Problems and Remedies If an error occurs during operation or you suspect a system failure, identify the possible cause and carry out the corresponding remedy.
HL-G1 User's Manual Type 3 Problem Measurement values vary. 7.1 Problems and Remedies Possible cause Remedy The moving average is small. Increase the number of moving average. The light emitter/receiver is dirty. Remove the dirt on the light emitter/receiver. The mounting direction of the sensor head is incorrect. Check the mounting direction of sensor head. The sensor head or measurement object is tilted.
Troubleshooting Type 3, 4 Problem The alarm indicator lights up and measurement is no longer possible (see note). HL-G1 User's Manual Possible cause Remedy The reflected beam from the beam emitter is blocked. Move the position of the beam projection spot or change the mounting direction of the sensor head so the reflected beam should not be blocked. The laser beam spot is applied to the R portion (curved surface) of the measurement object.
HL-G1 User's Manual 7.2 Initialize 7.2 Initialize This function is used to delete all the settings from all the memories and returns them to the default settings. You need to save the settings after initialization (see page 46), or the system will operate with the settings valid before the initialization at the next system start.
Chapter 8 Specifications
Specifications HL-G1 User's Manual 8.1 Sensor Head Specifications The sensor head specifications are listed in the table below. NOTE The following measurement conditions apply unless otherwise specified: Power voltage: 24V DC Ambient temperature: 20°C Sampling cycle: 500μs Number of measurement values used for averaging: 1024 values Measurement object: white ceramic Where standard and multifunction type differ in the specification, the table row is shaded in gray. - Model No.
HL-G1 User's Manual 8.1 Sensor Head Specifications Model No. Characteristic HL-G103-□-□ OUT1 Judgment output or alarm output (switchable) NPN open-collector transistor/PNP open-collector transistor (switchable) Settings for NPN: OUT2 OUT3 HL-G105-□-□ HL-G108-□-□ HL-G112-□-□ Peak in-flow current: 50mA Applied voltage: 3 to 24V DC (between output and 0V) Residual voltage: 2V max. (at in-flow current of 50mA) Settings for PNP: Peak in-flow current: 50mA Residual voltage: 2.8V max.
Specifications HL-G1 User's Manual Model No. Characteristic HL-G103-□-□ HL-G105-□-□ HL-G108-□-□ HL-G112-□-□ Casing: PBT, front cover: acrylic, cable: PVC Material Cable length Standard type (HL-G1□-A-C5): 5m Multifunction type (HL-G1□-S-J): 0.5m Standard type (HL-G1□-A-C5): Approx. 70g (without cable), approx. 320g (including cable), and approx. 380g (with packing) Weight Multifunction type (HL-G1□-S-J): Approx. 70g (without cable), approx. 110g (including cable), and approx.
HL-G1 User's Manual 8.2 Beam Dimensions 8.2 Beam Dimensions Measuring range 0.1 0.1 Measurement center distance 0.15 0.15 HL-G105-□-□ (50mm type) 0.9 1.5 Measuring range Measurement center distance HL-G103-□-□ (30mm type) 0.75 1.25 0.15 1.2 1.8 0.75 1.25 1.0 Measurement center distance 0.9 1.5 Measuring range HL-G112-□-□ (120mm type) 0.6 Measuring range Measurement center distance HL-G108-□-□ (85mm type) 0.6 1.0 0.15 1.0 1.5 0.8 0.5 8.2.
Specifications HL-G1 User's Manual 30mm type (HL-G103-□-□) 34 26 10 6 6 12.5 2 1 1 50mm type (HL-G105-□-□) 60 40 14 8 12.5 10 3 1.5 1.5 85mm type (HL-G108-□-□) 105 65 19 12 12.
HL-G1 User's Manual 8.2 Beam Dimensions 120mm type (HL-G112-□-□) 180 60 22 10 12.5 32 7.
Specifications HL-G1 User's Manual 8.2.2 Output Characteristics Measurement (R) Measurement center Displacement distance (D) output 11V 21.6mA 10V 20mA 10.5V 20.8mA 5V 12mA Distance (mm) 0V 4mA 3.2mA Alarm output ON ON OFF OFF ON NOTE In the figure, the default settings for analog output are used.
HL-G1 User's Manual 8.3 Sensor Head Dimensions 8.3 Sensor Head Dimensions All dimensions are in mm. 8.3.1 Standard Type (HL-G1□□-A-C5) Digital display (red) Alarm indicator (orange) Laser indicator (green) OUT1 indicator (yellow) OUT2 indicator (yellow) OUT3 indicator (yellow) ENTER key 20.4 Measurement center distance 3.8 Light emission axis UP key DOWN key 57 49.4 .5 2- Ø4 60 51.4 Ø6.85 Standard: 5m 4.3 47.
Specifications HL-G1 User's Manual 8.3.2 Multifunction Type (HL-G1□□-S-J) Digital display (red) Alarm indicator (orange) Laser indicator (green) OUT1 indicator (yellow) OUT2 indicator (yellow) OUT3 indicator (yellow) ENTER key 20.4 Measurement center distance 3.8 UP key DOWN key 57 .5 49.4 2- Light emission axis Ø4 51.4 12 3) (Ø (4 132 .5 ) Ø 6. 5m 85 0. 4.3 47.
Index Connection cables ............................15, 18 Connection mode..............................39, 74 Control panel ..............................17, 43, 46 1 Current output...................................65, 68 1: 1 communication .........................74, 89 n communication .........................74, 90 D Data amount ...............................39, 79, 96 2 Decimal point ....................................43, 93 2-state.....................................................
Index HL-G1 User's Manual Judgment output selection................39, 60 R L R3 ...........................................................71 Laser class................................................2 Laser control .....................................39, 77 Laser wavelength......................................2 Last data point ..................................39, 79 LEDs ...........................................17, 43, 78 Light intensity monitor.................39, 52, 53 Logic ...............
HL-G1 User's Manual Index U Undefined output data ...31, 33, 43, 45, 54, 77 USB-RS422/485 converter .....................14 V Valley ................................................33, 55 Version....................................................79 View version .....................................39, 79 Voltage output...................................65, 68 W Warning label......................................6, 17 Z Zero set.......................................26, 33, 44 Zero-set OFF ...............
Record of Changes Manual number Date Changes MEUEN-HLG1V1 May 2011 First edition, based on ME-HLG1(02) No.
Global Network HL-G1 User’s Manual North America Europe Asia Pacific China HL-G1 Japan Europe ffAustria Panasonic Electric Works Europe AG Panasonic Electric Works Austria GmbH PEW Electronic Materials Europe GmbH ffBenelux ffGermany Panasonic Electric Works Sales Western Europe B.V. Panasonic Electric Works Czech s.r.o. Panasonic Electric Works Sales Western Europe B.V.