12.1 Data Logging
12.1.3 Monitoring the Logging Execution Status
12
Function
s
of the Contr
oller
S
ection
12-13
This timing chart illustrates the logging process when performed asynchronously with the scan.
The logging process for sampling the data is performed within the scan, while the process of
writing the data to a file is performed in background processing.
The background process is performed during the idle processing time of the scan. Therefore,
the idle processing time (time period A in the above chart) must be longer than the logging
overhead (time period B in the above chart).
If the logging overhead time is longer than the idle processing time of the scan, the file writing
process can run into the next scan and cause an over limit error. The number of over limit errors
can be checked in the overrun counter (SW24008).
12.1.3
Monitoring the Logging Execution Status
You can monitor the execution status of data logging by checking the system registers. Refer
to the following manual for details.
Σ
-7-Series
Σ
-7C SERVOPACK Troubleshooting Manual (Manual No.: SIEP S800002 07)
12.1.4
Viewing the Log Data
To view the log data in a PC, the data that is stored in the RAM in the CPU or USB memory
device must be transferred to the PC. Refer to the following section for details on data trans-
fers.
DWG.H
DWG.L
Background
proce
ss
ing
DWG.H
Logging
(data
s
ampling)
Logging
(data
s
ampling)
Logging
(data
s
ampling)
B: Logging overhead
Low-
s
peed
s
can cycle
A: Idle proce
ss
ing time
Logging (file writing)
Current low-
s
peed
s
can time
Low-
s
peed
s
can
High-
s
peed
s
can cycle
Current high-
s
peed
s
can time
High-
s
peed
s
can
The
s
haded portion
s
how
s
that the
higher priority proce
ss
ing i
s
interrupting lower priority proce
ss
ing.
Thi
s
proce
ss
s
ample
s
target data and load
s
it into a logging buffer.
Thi
s
proce
ss
s
ample
s
target data and load
s
it
into a logging buffer.
Thi
s
proce
ss
write
s
data
that wa
s
s
ampled during
the
s
can to the log file.