Moog ACV with CANopen bus interface
7 Servo valve functions
Data logger
B99224-DV018-D-211, Rev. A, October 2018
260
Figure 150: Data memory - one channel with INT8 parameter
Example 3: Sampling four channels with 4 four byte parameters
In this example all four channels are enabled. For every sample 16 bytes memory are needed. The available
memory is 2048 bytes. The possible number of samples is 2048 bytes divided by 16 byte per sample, so
128 samples can be saved in the memory. No empty space remains at the end of the ring buffer. If the param-
eter <Divider> (0x3182) is set to 1 (10000 samples per second), the memory is filled in 128/10000 = 12.8 ms.
Figure 151: Data memory - four channels with INT32 parameters
7.17.5.1 Object 0x3186: Memory
The parameter <Memory> (0x3186) contains the sampled information of the four channels. The parameter is
an array of UINT8 with 2048 entries/bytes.
7.17.5.2 Object 0x3187: Sample start offset
The <SampleStartOffset> (0x3187) contains the byte position where the recorded data start. It indicates the
position of the first sample point.
7.17.5.3 Object 0x3183: Number of samples
The parameter <NumberOfSamples> (0x3183) contains the number of sample points. On each sample point
the data of all active channels are recorded.
Last samples at time t
N
Samples at time t
1
Samples at time t
2
0 Byte
Empty
...
...
<
SampleStartOffset
>
(0x3187)
Sample of 3
rd
channel
INT8 (1 Byte)
Last samples at time t
N
Samples at time t
1
Samples at time t
2
0 Byte
Empty
...
...
<
SampleStartOffset
>
(0x3187)
Sample of 1
st
channel
INT32 (4 Byte)
LSB
MSB
Sample of 2
nd
channel
INT32 (4 Byte)
Sample of 3
rd
channel
INT32 (4 Byte)
Sample of 4
th
channel
INT32 (4 Byte)
LSB
MSB
LSB
MSB
LSB
MSB
DataLogger
Index
Sub-index
Parameter name
Data type
Access
Persistence
Value range
Default
0x3186
0
Memory
DOMAIN
ro
-
None
None
DataLogger
Index
Sub-index
Parameter name
Data type
Access
Persistence
Value range
Default
0x3187
0
SampleStartOffset
UINT32
ro
-
UINT32
None
DataLogger
Index
Sub-index
Parameter name
Data type
Access
Persistence
Value range
Default
0x3183
0
NumberOfSamples
INT32
ro
-
0…2048
None