The settings are configured as follows by the contact turning on for one scan after RUN.
'G_udWriteStartPosition' (D10) is set to 0 so that ZR0 is set as the start position of the save destination file register.
'G_udWritePosition' (D20) is set to a value in 'G_udWriteStartPosition' (D10) so that the write position of the file register is initialized.
The maximum number of storage data points of the save destination file register is set to 100000.
(147) 'G_bContinuousLoggingStartStop' (M0) is turned on at the desired timing to start the continuous logging, and the continuous logging is started. In addition,
'G_bContinuousLoggingStartStop' (M0) is turned off at the desired timing to stop the continuous logging, and the continuous logging is stopped.
(165) After the continuous logging is stopped, the operations are performed as follows.
The write position of the file register where the continuous logging is stopped is stored in 'G_udWriteEndPosition' (D40).
'G_udWritePosition' (D20) is set to a value in 'G_udWriteStartPosition' (D10) so that the write position of the file register is initialized.