3-9
Section 3
Setting Value Obtaining and Changing Command
ZS Series
CompoWay/F Communication Command Reference
Section 3
Unit No.
and P
a
rameter No.
(Note 2)
The same task as MDC is performed as internal processing when selecting a “THICK/GAP
- FILM/OTHERS - TRANSFER” mode (when a 2-area measurement is performed).
Processing is assigned to each task as below:
When 2-area measurement
is performed (*3)
When measurement other than 2-area
measurement is performed
TASK1
Calculates Area 1
displacement value
Measurement result (*1)
TASK2
Calculates Area 2
displacement value
Unused (*2)
TASK3
Calculates the difference (=Thic
kness/gap)
between TASK 1 and TASK 2
Unused (*2)
TASK4
Unused (*2)
Unused (*2)
*1: The result is a thickness distance value when the thickness measurement is set.
Other than the above, the result is a surface distance value.
*2: An error always occurs.
*3: Only TASK3 can be displayed or set on the controller.
(Note 3)
The Unit No. here indicates TASK 1 Unit No.
Unit No. other than the above, such as TASK2 or a later one, can be calculated
by adding (TASK number -1) to the Unit No. and multiplying it by 14h for another reference or setting.
Example1: When reading the setting values of the average number of times (when ZS-LDC
is 1CH, and no 2-area measurement is performed):
Since the average number of times is 2Bh for Unit No., and 02h for Data No., values are shown
as below:
02h 01h (C000h + 02h (Data No.)) 2Bh (Unit No.) 01h (CH No.) (8000h + 1h (Number of elements))
In the command section, the value is shown as below:
02h 01h C002h 2B01h 8001h
To this command, if the response is shown as below:
02h 01h C002h 2B01h 8001h 00000004h
Since the value is 4, this indicates 16 times.
Example 2: When changing a high threshold value for the result of thickness to 100 mm (when
ZS-LDC is 0CH, and a 2-area measurement is performed):
The thickness result is calculated by using TASK3 when performing a 2-area measurement.
Usually, the high threshold value is 30h for Unit No., and 03h for Data No.
However, Unit No. is 58h (= 30h + (3-1) x 14h) because TASK3 is set this time.
Besides, 100mm thickness is expressed as 05F5E100h in a hexadecimal number because 100
mm is 100,000,000nm.
02h 02h (C000h + 03h (Data No.)) 58h (Unit No.) 00h (CH No.)
and (8000h + 1h (Number of Elements)) 05F5E100h (Data to be written)
In the command section, the value is shown as below:
02h 02h C003h 5800h 8001h 05F5E100h
To this command, if the response is shown as below: