122
Chapter 8 Logging
8.1.1
Recording by program commands
The timing when logs are recorded can be controlled by program commands, the teach pendant, and WINCAPS
III for control / trace / single trace / variable / servo single axis data logs. These logs use a memory field called a
ring buffer. The ring buffer has a set capacity and overwrites its oldest data with the latest. By using the three fol-
lowing commands logs can be retained for program-specified areas. Control log commands will be used as exam-
ples to explain recording to the ring buffer.
• STARTLOG
Begins writing of data not to be updated to the ring buffer. When the ring buffer is full of non-updatable data
no new logs can be written to it.
• STOPLOG
Changes log data recorded in the ring buffer at that point into non-updatable data and retains it. If STARTLOG
is being executed log data between STARTLOG and STOPLOG will be retained.
• CLEARLOG
Deletes data retained in the ring buffer, and begins recording of updatable data in new logs.
The relationship between the above three commands and the retained log data is shown here. In this example the
ring buffer size is set at 20.
Case A
Recorded control logs from 25-44.
20 control logs are recorded after StartLog, taking up all space in the ring buffer with 20 sets of log data re-
tained.
Case B
Recorded control logs from 25-40.
Only 16 control logs are retained from after StartLog to StopLog.
Case C
Recorded control logs from 21-40.
The 20 control logs recorded up until StopLog are retained.
Case D
Recorded control logs from 10-25.
The 16 control logs recorded from ClearLog to StopLog are retained.
Содержание WINCAPS III
Страница 1: ...Programming Support Tool WINCAPSIII GUIDE...
Страница 18: ...vi CONTENTS...
Страница 64: ...46 Chapter 3 Starting Up Shutting Down...
Страница 196: ...178 Chapter 10 Appendices...
Страница 198: ......