Download Print this page
Omron ZS-HL-N Series Command Reference Manual
Omron ZS-HL-N Series Command Reference Manual

Omron ZS-HL-N Series Command Reference Manual

Smart sensors

Advertisement

Quick Links

Smart Sensors
ZS-HL-N Series
Non-procedual Communication
Command Reference
Cat. No. Z472-E1-01

Advertisement

loading

Summary of Contents for Omron ZS-HL-N Series

  • Page 1 Smart Sensors ZS-HL-N Series Non-procedual Communication Command Reference Cat. No. Z472-E1-01...
  • Page 2 ZS-HL-N Series. When using the ZS-HL-N Series, be sure to observe the following: • The ZS-HL-N Series must be operated by personnel knowledgeable in electrical engi- neering. • To ensure correct use, please read this manual thoroughly to deepen your under- standing of the product.
  • Page 3: Table Of Contents

    Contents Contents Setting the Communication Specifications............2 Format......................3 List of Non-procedural Commands ..............4 List of Parameters ................... 6 FLOWDATA Reference................. 14 Example of Usage..................19 Revision History .................... 23 ZS-HL-N Series Non-procedural Communication Command Reference...
  • Page 4: Setting The Communication Specifications

    Change the settings of the controller communication specifications for non-procedural communication with the external device. Use USB cable or RS-232C cable to connect ZS-HL-N Series controllers to external devices. For USB cable connection, install Smart Monitor ZS and USB driver beforehand. After installing Smart Monitor ZS, USB ports are recognized as standard COM ports, and communication is achieved as with the RS- 232C.
  • Page 5: Format

    Either OK or ER is returned according to the result of the command. The command was executed properly: The command was not executed properly or the setting was NG: The delimiter can be selected from the following three types. CR/LF/CR+LF ZS-HL-N Series Non-procedural Communication Command Reference...
  • Page 6: List Of Non-Procedural Commands

    Specify @xx at the beginning of the command. If the node No. is 1, specify @01. (Be sure to note double digits.) If the node No. is omitted, the command operates on the node that received it. ZS-HL-N Series Non-procedural Communication Command Reference...
  • Page 7 For alphabetic, only upper case characters are accepted. * Task No. Omit <Task No.> when issuing a command for ZS-LDC. Task Nos are assigned as follows: 0: TASK1 1: TASK2 2: TASK3 3: TASK4. ZS-HL-N Series Non-procedural Communication Command Reference...
  • Page 8: List Of Parameters

    2: End position compensation 3: Start/End position compensation Measurement cycle 112 to 20000 (us) Reference point teach for 1: Execute teach compensation mode 2-area teach 1: Execute teach Head installation 0: Diffuse 1: Regular ZS-HL-N Series Non-procedural Communication Command Reference...
  • Page 9 4: Filter size 16 selected object. Background removing 0 to 255 (tone) level before addition Edge threshold 0: 0% 1: 12.5% 2: 25% 3: 37.5% 4: 50% 5: 62.5% 6: 75% 7: 87.5% ZS-HL-N Series Non-procedural Communication Command Reference...
  • Page 10 1: Average measurement) 2: Peak 3: Bottom Measurement area 0: Area 1 1: Area 2 Width of peak bottom 0 to 255 Measurement value - (nm) (First surface) Measurement value - (nm) (Second surface) ZS-HL-N Series Non-procedural Communication Command Reference...
  • Page 11 Sampling period (ms) 1 to 5000 (ms) Trigger delay mode 0: OFF 1: ON Offset at zero reset -999999999 to 999999999 (nm) Zero reset mode 0: REAL 1: HOLD Status 0: OFF 1: ON ZS-HL-N Series Non-procedural Communication Command Reference...
  • Page 12 Monitor focus current 4 to 20 (mA) value 1 Monitor focus current 4 to 20 (mA) value 2 Monitor focus voltage -10 to 10 (V) value 1 Monitor focus voltage -10 to 10 (V) value 2 ZS-HL-N Series Non-procedural Communication Command Reference...
  • Page 13 6: 15 mA 7: 14 mA 8: 13 mA 9: 12 mA 10: 11 mA 11: 10 mA 12: 9 mA 13: 8 mA 14: 7 mA 15: 6 mA 16: 5 mA 17: 4 mA ZS-HL-N Series Non-procedural Communication Command Reference...
  • Page 14 0: Low Active Parallel input 1: High Active Input 1 Input 2 Input 3 External input mode 0: Normal mode 1: Bank switching mode Control TASK setting 0: TASK1 1: TASK2 2: TASK3 3: TASK4 ZS-HL-N Series Non-procedural Communication Command Reference...
  • Page 15 -999999999 to 999999999 (nm) numbers are as threshold follows: Hysteresis width 0 to 999999999 (nm) Timer mode 0:OFF TASK2: 68 1:OFF DELAY TASK3: 88 2:ON DELAY TASK4: 108 3:ONE SHOT Delay time 1 to 5000 (ms) ZS-HL-N Series Non-procedural Communication Command Reference...
  • Page 16: Flowdata Reference

    Handling these measurement data with an external device requires reading in a large amount of data. The ZS-HL-N series are provided with a mechanism which enables to handle and acquire measurement data by a given bundle. This bundle of data is called a FLOWDATA.
  • Page 17 Accumulation of result of area 2 Accumulation of result of glass surface or glass thickness • When a mode other than the above is selected for the measurement object Unit No. Data No. Value Description No accumulation Accumulation ZS-HL-N Series Non-procedural Communication Command Reference...
  • Page 18 Accumulate the result of TASK 2 Does not accumulate the result of TASK 3 Accumulate the result of TASK 3 Does not accumulate the result of TASK 4 Accumulate the result of TASK 4 ZS-HL-N Series Non-procedural Communication Command Reference...
  • Page 19 *2 The input lines are, from the lower bit, assigned to: In case of ZS • Input terminal 4 (Unused. Always set to 0.) • Input terminal 3 • Input terminal 2 • Input terminal 1 • Input terminal 0 (5 inputs in total.) ZS-HL-N Series Non-procedural Communication Command Reference...
  • Page 20 Input terminal 0 Unused TASK No. Decimal information Normally set to 0: nm order, 1: Pm order FlowData overflow bit Normally set to 0. Set to 1 when there is an overflow in FLOWDATA accumulation. Unused ZS-HL-N Series Non-procedural Communication Command Reference...
  • Page 21: Example Of Usage

    Windows standard tool HyperTerminal. Start up HyperTerminal. HyperTerminal is located under [Program]-[Accessory]-[Communication]. (1) Enter an appropriate project name. (2) Select the COM port connected to the ZS in the Connection Method section. (3) Set the communication conditions. ZS-HL-N Series Non-procedural Communication Command Reference...
  • Page 22 Example of Usage (4) HyperTerminal is started up. To make the interaction with commands easier, set echo and other functions. (1) Open [Property]. (2) Select the setting tag, and then ASCII settings. ZS-HL-N Series Non-procedural Communication Command Reference...
  • Page 23 Set the communication conditions for the ZS side. (1) Set [System]-[Communication]-[RS-232C] as consistent with the above setting. (2) Set [System]-[Communication]-[Protocol] as non-procedural. Change ZS into "RUN" mode. Perform non-procedural communication. (1) Input a command, and then press the return key. ZS-HL-N Series Non-procedural Communication Command Reference...
  • Page 24 Example of Usage (2) A returned value responding to the command is returned from the controller. ZS-HL-N Series Non-procedural Communication Command Reference...
  • Page 25: Revision History

    A manual revision code appears as a suffix to the catalog number at the bottom of the front and back covers of this manual. Z472-E1-01 Cat. No. Revision code Revision code Date Revised contents 2022, Nov. Original production ZS-HL-N Series Non-procedural Communication Command Reference...
  • Page 26 Hoffman Estates, IL 60169 U.S.A. Tel: (31) 2356-81-300 Fax: (31) 2356-81-388 Tel: (1) 847-843-7900 Fax: (1) 847-843-7787 ©OMRON Corporation 2022 All Rights Reserved. OMRON ASIA PACIFIC PTE. LTD. OMRON (CHINA) CO., LTD. In the interest of product improvement, 438B Alexandra Road, #08-01/02 Alexandra Room 2211, Bank of China Tower, specifications are subject to change without notice.