Chapter 11 Datalog Function
11.11.3 Save Process Time Verification
Datalog function does not guarantee saving of all data under any setting. It performs the maximum operation that
motion controller is capable of at the time when datalog condition occurs. That is, since datalog processing time may
fluctuate depending on the parameter setting, sampling data amount, scan time and run state of motion controller’s
other functions such as internal communication and position determination, it may not run as specified by the set
collection condition in some cases. Therefore, it is recommended to use datalog function after verifying each
processing time of the system before using datalog function.
(1) Save Process Time Verification
The following figure represents the flow from datalog function performed by motion controller to saving into SD
memory.
Details are as follows.
Sampling Data Collection
Sane into controller buffer
Save into SD memory
Start
(a)
(b)
(c)
End
Stage Operation Note
(a) Data Collection
When datalog is started, data is collected and stored in the internal
buffer.
Data collection is performed in accordance with conditions set in the
parameter (storage for each main
task and specified cycle, etc.), data
may not be collected in accordance with the set conditions depending
on the number of data and function usage.
(b) Data Design
The collected data is designed and processed in a form that can be
stored in the CSV fil
e. After the design, it is stored in a buffer. If the
data storage buffer is full, the designed data will wait until there is
available free space in the buffer.
(c) Data Storage
It performs the operation of saving the designed data as a file in the
SD
card. If the data storage rate cannot keep up with the data
collection rate, the internal buffer is exceeded, and data may be
dropped.