3-18
Section 3
Setting Value Obtaining and Changing Command
ZS Series
CompoWay/F Communication Command Reference
Section 3
Unit No.
and P
a
rameter No.
Example 1: When reading the setting values of the average number of times for TASK 1:
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.) 00h (CH No.) (8000h + 1h (Number of elements))
In the command section, the value is shown as below:
02h 01h C002h 2B00h 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 the high threshold value of TASK 4 to 100 mm:
Usually, the high threshold value is 30h for Unit No., and 03h for Data No.
However, Unit No. is 6Ch (= 30h + (4-1) x 14h) because TASK4 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.)) 6Ch (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 6C00h 8001h 05F5E100h
To this command, if the response is shown as below:
02h 02h 0000h
It indicates a normal end.