
332
Rockwell Automation Publication 1444-UM001D-EN-P - June 2018
Appendix A
CIP Objects
Reading TWF Data
Processing the returned data into the TWF is merely a matter of determining
the period, RPM, and number of samples (if synchronous) of the data. The
data values themselves are returned as floating point values that need no further
processing. The following describes how to calculate the period of the TWF.
Asynchronous Measurements
Calculate the time waveform period:
Synchronous Measurements
Calculate the number of samples:
Read the Samples per Revolution (SamplesPerRev):
Samples per Revolution is returned in the first bye of the
SamplePeriodInSec
value
Read the RPM in Hz (RPM
Hz
):
RPM in Hz is returned in the last three bytes of the SamplePeriodInSec
value
Calculate the time waveform period:
TWF Period (sec) =
SamplePeriodInSec
*
ByteCount
4
NumSamples=
ByteCount
4
TWF Period (sec) =
NumSamples
RPM
Hz
* SamplesPerRev