4-4
Section 4
How to Obtain Flow Data
ZS Series
CompoWay/F Communication Command Reference
Section 4
Ho
w to
Obt
a
in Flo
w
Da
ta
2.
Set the target data to be obtained.
Controllers have accumulation areas from “accumulation data 1" through
“accumulation data 9” in the software. (*)
First, set the data to be accumulated in the respective area. Specifically,
write the Parameter No., which corresponds to the data to be accumulated,
to Data No. 5 through 13 of Unit No. 124 (=7Ch). (*)
(*)
The example here describes the case of ZS-MDC. In the case of ZS-LDC,
Data No. 5 to 7 can be specified because only accumulate data areas from 1
to 3 exist.
Example: When writing data items: TASK1, TASK2, and input A to
accumulate data 1, accumulate data 2, and accumulate data 3,
respectively, for the ZS-MDC (0CH), a command to be sent is
shown as below:
02h 02h C005h 7C00h 8001h 00000001h
(Accumulate data
1=
TASK1)
02h 02h C006h 7C00h 8001h 00000002h
(Accumulate data
2=
TASK2)
02h 02h C007h 7C00h 8001h 00000005h
(Accumulate data
3=
Input A)
02h 02h C008h 7C00h 8001h 00000000h
02h 02h C009h 7C00h 8001h 00000000h
:
(Accumulate data 4 to 13 = no accumulation)
02h 02h C00Dh 7C00h 8001h 00000000h
3.
Read a measurement cycle.
Read the current measurement cycle.
Measurement cycle information is necessary to execute step 4, “Specify the
buffer interval.”
The measurement cycle information must be obtained again in this step
because it may vary depending on the settings specified in the steps 1 and 2
above.
Example: When reading the measurement cycle to the ZS-MDC (0ch), a
command to be sent is shown as below:
01h 01h 81h 0000h 00h 0002h
You will find that the measurement cycle is 269 microseconds (=010Dh)
when the response is returned as below:
01h 01h 0000h 0000010Dh
Setting Procesures for Data Obtaining Conditions