Omron ZS Series Communication Command Reference page 61

Zero smart sensor
Hide thumbs Also See for ZS Series:
Table of Contents

Advertisement

4.
Specify the buffer interval.
A number of skips, which is referred to as a "buffer interval", can be set to the
controller upon data accumulation. Calculate and set an optimal value
according to the sampling interval to be obtained.
For example, to set the sampling interval to 100ms when the current
measurement cycle is 269 µs, set the buffer interval to 371 (=372-1), which is
calculated by the following formula:
100ms/269µs=371.747... (*)
(*)
Set the most approximate value to the sampling interval to be obtained
because the sampling interval can be set only to the multiple number of
measurement cycles as shown above.
The buffer interval value can be calculated by subtracting 1 from the value
calculated using the formula above because the buffer interval must be the
number of skips to be executed.
Example: When writing the buffer interval (=371) to ZS-MDC (0CH), a
command to be sent is shown below:
02h 02h C003h 7C00h 8001h 00000173h (371(dec) = 1F4(hex))
5.
Set the number of data items to be accumulated.
Set the number of data items to be batch-obtained.
Because the number of data items specified in this step is the one for the
respective accumulation data area, the number of data items to be
batch-obtained can be calculated as shown below when three types of data
items are obtained as in the example above:
Number of data items specified in this step x 3
Example: When setting the number of data items to be accumulated (=500)
to ZS-MDC (0CH), a command to be sent is shown below:
02h 02h C004h 7C00h 8001h 000001F4h (500(dec) = 1F4(hex))
Setting Procesures for Data Obtaining Conditions
CompoWay/F Communication Command Reference
Section 4
How to Obtain Flow Data
4-5
ZS Series

Advertisement

Table of Contents
loading

This manual is also suitable for:

Zs-ldcZs-mdcZs-dsu

Table of Contents