Omron ZS Command Reference Manual

Smart sensors non-procedual communication
Hide thumbs Also See for ZS:

Advertisement

Cat. No. Z232-E1-02
Smart Sensors
ZS Series
Non-procedual Communication
Command Reference

Advertisement

Table of Contents
loading

Summary of Contents for Omron ZS

  • Page 1 Cat. No. Z232-E1-02 Smart Sensors ZS Series Non-procedual Communication Command Reference...
  • Page 2 • The ZS Series must be operated by personnel knowledgeable in electrical engineer- ing. • To ensure correct use, please read this manual thoroughly to deepen your under- standing of the product. • Please keep this manual in a safe place so that it can be referred to whenever neces- sary.
  • Page 3: Table Of Contents

    Contents Contents Setting the Communication Specifications ........... 2 Format......................3 List of Non-procedural Commands .............. 4 List of Parameters (ZS-LDC) ................ 7 List of Parameters (ZS-HLDC) ..............12 List of Parameters (ZS-MDC) ..............20 List of Parameters (ZS-DSU) ..............25 FLOWDATA 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 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

    For the description of each command, refer to "List of Non-procedural Commands" section. •MEASURE / M / DATAGET The returned value consists of right aligned 11 characters and a delimiter. The unit is nm for a displacement value. Shortfalls of the characters are filled with spaces from the left.
  • Page 6: List Of Non-Procedural Commands

    ER <delimiter> <Task No.> is omitted, it <delimiter> executes on the task currently displayed as a result. If <Task No.> is set to 4, it executes on all the tasks. ZEROCLR ZEROCLR OK <delimiter> Cancels a zero-reset. If <Task No.>...
  • Page 7 <Target controller CH> specified CH to the <Target Bank> memory card. <delimiter> Example: To transfer the bank data on the Bank 3 of 2CH to the Bank file No. 10 on the memory card, enter the following command. BKCTR2MC 10 2 3<delimiter>...
  • Page 8 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. To specify, the node and CH together in case of ZS-HLDC, specify @XX # △ △ at the head of the command.
  • Page 9: List Of Parameters (Zs-Ldc)

    List of Parameters (ZS-LDC) List of Parameters (ZS-LDC) The following parameters can be obtained or set by DATASET or DATAGET command: Unit No. Data No. Parameter Setting range/Output range Others Measurement mode 0: STANDARD 1: HI-RESO 2: HI-SPEED 3: HI-SENS...
  • Page 10 To refer to or set the area 1 (1st surface) parameters for area 2, Measurement value of - (nm) add 20 to the unit No. (*) area 1 (2nd surface) Measurement value of - (nm) area 1 (3rd surface) Scaling mode...
  • Page 11 List of Parameters (ZS-LDC) Unit No. Data No. Parameter Setting range/Output range Others Differential 0: OFF 1: ON Differentiation cycles 1 to 5000 (ms) Hold type 0: OFF 1: PEAK 2: BOTTOM 3: P-P 4: AVERAGE 5: SAMPLE Trigger method...
  • Page 12 2: Hold reset External input 3 mode 3: Laser off 4: Zero reset When [Glass thickness/Gap-Film/Else-Move] is selected, task processes similar to those of ZS-MDC are performed internally. The following processes are assigned to respective tasks: TASK 1 Calculates Area 1 displacement value.
  • Page 13 List of Parameters (ZS-LDC) Setting Threshold Value • A mode other than [Glass thickness/Gap-Film/Else-Move] is selected. Unit No. Data No. Parameter Setting range/Output range Others Lower limit of -999999999 to 999999999 (nm) threshold Upper limit of -999999999 to 999999999 (nm)
  • Page 14: List Of Parameters (Zs-Hldc)

    List of Parameters (ZS-HLDC) List of Parameters (ZS-HLDC) The following parameters can be obtained or set by DATASET or DATAGET command: Unit No. Data No. Parameter Setting range/Output range Others Measurement mode 0: STANDARD When multi-task mode 1: HI-RESO is OFF.
  • Page 15 Data No. Parameter Setting range/Output range Others LD power when fixed 0 to 800 (1 div: 0.1%) Lower limit of LD power 0 to 800 (1 div: 0.1%) Upper limit of LD power 0 to 800 (1 div: 0.1%) Incident level...
  • Page 16 - (nm) (Second surface) Measurement value - (nm) (Third surface) Scaling mode 0: OFF 1: ON Span value -20000 to 20000 (1 div: 0.0001) Offset value -999999999 to 999999999 (nm) Smooth 0: OFF 1: ON ZS-Series Non-procedural Communication Command Reference...
  • Page 17 1: HOLD Status 0: OFF 1: ON If GLASS/MODE 2 or GLASS THICKNESS/MODE 2 is selected, a process using multiple tasks will be performed, as in the multi-task mode. The following processes are assigned to the respective tasks: TASK 1 Calculates Area 1 displacement value.
  • Page 18 The ZS-HLDC performs task processing. The processing units for each task are grouped into 20 units. To refer to the processing unit of TASK N, therefore, add 20×(N-1) to the above pro- cessing unit No. Example: To change the averaging process of TASK2, refer to or set to a parameter with: Process unit No.=43+20×(2-1)=63 and...
  • Page 19 List of Parameters (ZS-HLDC) Unit No. Data No. Parameter Setting range/Output range Others Output at CLAMP Voltage output 0: MAX 1: 10 V 2: 9 V 3: 8 V 4: 7 V 5: 6 V 6: 5 V 7: 4 V...
  • Page 20 2: Judgment Update cycle 0 to 100 Mode 0: OFF Logging 1: ON Buffering period 1 to 65535 Buffer size per item of 1 to 1000 data TASK 1 0: OFF When multi-task mode is 1: ON TASK 2 0: OFF...
  • Page 21 List of Parameters (ZS-HLDC) Setting Threshold Value When multi-task mode is OFF • When selecting a mode other than "GLASS/MODE 2" and "GLASS THICKNESS/ MODE 2". Unit No. Data No. Parameter Setting range/Output range Others Lower limit of -999999999 to 999999999 (nm)
  • Page 22: List Of Parameters (Zs-Mdc)

    List of Parameters (ZS-MDC) List of Parameters (ZS-MDC) The following parameters can be acquired or set by DATASET or DATAGET command: Unit No. Data No. Parameter Setting range/Output range Others Destination CH to 0 to 11 (CH) input data A...
  • Page 23 List of Parameters (ZS-MDC) Unit No. Data No. Parameter Setting range/Output range Others Individual setting 0: Input A mode 1: Input B 2: Input C 3: Input D 4: Input E 5: Input F 6: Input G 7: Input H...
  • Page 24 List of Parameters (ZS-MDC) Unit No. Data No. Parameter Setting range/Output range Others TASK2 setting 0: OFF (AVE,MAX-MIN) 1: ON TASK3 setting (AVE,MAX-MIN) TASK4 setting (AVE,MAX-MIN) Thickness -999999999 to 999999999 (nm) Scaling mode 0: OFF 1: ON Span value -20000 to 20000 (×0.0001)
  • Page 25 List of Parameters (ZS-MDC) Unit No. Data No. Parameter Setting range/Output range Others Non-measurement 0: KEEP settings 1: CLAMP Output at CLAMP 0: MAX Hysteresis width 0 to 999999999 (nm) Timer mode 0: OFF 1: OFF DELAY 2: ON DELAY...
  • Page 26 • Configuration of Task The ZS-MDC performs task processing. The processing units for each task are grouped into 20 units. To refer to the processing unit of TASK N, therefore, add 20×(N-1) to the above processing unit No. Example: To change the averaging process of TASK2, refer to or set to a parameter with: Process unit No.=43+20×(2-1)=63 and...
  • Page 27: List Of Parameters (Zs-Dsu)

    List of Parameters (ZS-DSU) List of Parameters (ZS-DSU) The following parameters can be obtained or set by DATASET or DATAGET command: Unit No. Data No. Parameter Setting range/Output range Others Input CH to Source A 0: 1CH 1: 2CH Input CH to Source B...
  • Page 28 List of Parameters (ZS-DSU) Unit No. Data No. Parameter Setting range/Output range Others Save mode of Source A 0: OFF 1: ON Save mode of Source B Save mode of Source C Save mode of Source D Save mode of Source E...
  • Page 29 5: OUT1 6: OUT2 7: OUT3 8: OUT4 End trigger mode 0: BUTTON When [Save image] is 1: EXT set to ON, [TIME] is 2: DATA not available. 3: WINDOW 4: I/O 5: HOUR 6: QUANT 7: TIME End trigger...
  • Page 30 0: Standard 1: Latest I/O data 0: No save 1: Save Save direction (Range) 0: COLUMN 1: ROW New line input 0: Ignore 1: Enable Label input and time settings can not be set or referenced. ZS-Series Non-procedural Communication Command Reference...
  • Page 31 List of Parameters (ZS-DSU) Judgment relation Unit No. Data No. Parameter Setting range/Output range Others Input source 0: Source A 1: Source B 2: Source C 3: Source D 4: Source E 5: Source F 6: Source G 7: Source H...
  • Page 32: Flowdata Reference

    In this case, it raises an error flag for buffer overflow. A device receiving data (such as PC) needs to check this flag to see if the commands have been issued in time.
  • Page 33 Data division (4bytes) Configuration of FLOWDATA p.34 Binary data is used for response data of FLOWDATA to give the highest priority to the speed. Therefore, general purpose communication tools such as HyperTerminal may not be used to receive the data.
  • Page 34 Accumulation of result of area 1 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...
  • Page 35 11: Measurement result of Input G 12: Measurement result of Input H 13: Measurement result of Input I Increasing data to be accumulated extends the measurement cycle of the ZS controller. Confirm it by selecting [SYSTEM]-[INFO]-[CYCLE] after setting. ZS-Series Non-procedural Communication Command Reference...
  • Page 36 Indicates ON/OFF states of various input lines. (*2) FLOWDATA stop bit • All data are set to 1 if FLOWDATA does not flow over subse- quently. (Always set to 1 for one-shot requests) • All data are set to 0 if FLOWDATA continues to flow over.
  • Page 37 1 1 1 1 1 1 1 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 1 1 0 0 1 0 0 0 0 1 0 0...
  • Page 38: Capturing Image Data

    * Specifying OK/NG folders is not necessary. Measurement result for the logged image data can also be obtained. Measurement result is stored in the log file in the same group folder. To get the measurement result to the personal computer, enter the following command.
  • Page 39 Capturing Image Data ● Flow of XMODEM communication When you capture image data by entering this command, image data are obtained through XMODEM communication. Communication flow is as follows: Host device (personal computer) ZS-DSU CFIMGGET command Switch XMODEM "READY" reply...
  • Page 40: 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-Series Non-procedural Communication Command Reference...
  • Page 41 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-Series Non-procedural Communication Command Reference...
  • Page 42 Example of Usage (3) Check the following items, and press OK to complete the setting. 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.
  • Page 43 Example of Usage (2) A returned value responding to the command is returned from the controller. ZS-Series Non-procedural Communication Command Reference...
  • Page 44: Revision History

    Description Symbol October 2004 First edition June 2005 • Commands and parameters compatible with ZS-DSU (v2.000) are added. • Multiple controllers connection with ZFV is added. October 2005 • Commands and parameters compatible with ZS-HLDC is added. ZS-Series Non-procedural Communication Command Reference...

This manual is also suitable for:

Zs seriesZs-ldcZs-hldcZs-mdcZs-dsu

Table of Contents