Additional Information
The following available space is required in an SD Memory Card to save the diagnostic and
statistical information.
Size of a data = 273 bytes + 51 bytes × Number of EtherCAT slaves
If the number of EtherCAT slaves is 512 and you want to save 1,000 diagnostic and statistical
data, an available space of approximately 26 MB is required.
The specification of data saved in a log file is given below.
• For the first row, data are output in the following order: the CPU Unit model, software version,
package version, hardware version, and serial ID. For the following rows, the date and time of
acquisition and the diagnostic and statistical data are output.
• The number of error frames for the slave diagnostic and statistical information is left blank if the
number of error frames cannot be acquired from the relevant EtherCAT slave.
Additional Information
The items of information such as the master diagnostic and statistical information output to a
CSV file by this function are arranged in the same order as the diagnostic and statistical infor-
mation display of Sysmac Studio. You can make the same file format by exchanging the places
of the row and column of each item.
Related System-defined Variables
The following system-defined variables are used to control execution of the diagnosis/statistics log.
Refer to
7-1-2 System-defined Variables
on page 7-2 for details on system-defined variables.
Variable name
Meaning
_EC_StatisticsLogEnable
Diagnosis/Statistics Log Enable
_EC_StatisticsLogCycleSec
Diagnosis/Statistics Log Cycle
_EC_StatisticsLogBusy
Diagnosis/Statistics Log Busy
_EC_StatisticsLogErr
Diagnosis/Statistics Log Error
Procedures
The procedure to use the diagnosis/statistics log is as follows.
1
Set a value for
_EC_StatisticsLogCycleSec
(Diagnosis/Statistics Log Cycle).
The cycle to save the diagnostic and statistical information in a log file is set.
Set the value in units of seconds. (Example: set 30 for 30 seconds, set 1,800 for 30 minutes).
If 0 is set, the diagnostic and statistical information is saved only once when execution of this
function is completed.
2
Change
_EC_StatisticsLogEnable
(Diagnosis/Statistics Log Enable) from FALSE to TRUE.
The execution of the diagnosis/statistics log is started.
•
_EC_StatisticsLogErr
(Diagnosis/Statistics Log Error) changes to FALSE.
•
_EC_StatisticsLogBusy
(Diagnosis/Statistics Log Busy) changes to TRUE.
During execution of the diagnosis/statistics log, the diagnostic and statistical information is ac-
quired and saved in a log file at the cycle specified in step 1.
If one of the following (a) to (f) is detected during the diagnosis/statistics log, the diagnosis/
statistics log is automatically terminated.
9 Troubleshooting
9-18
NJ/NX-series CPU Unit Built-in EtherCAT Port User's Manual (W505)
Содержание NJ101-10 Series
Страница 10: ...Manual Structure 8 NJ NX series CPU Unit Built in EtherCAT Port User s Manual W505...
Страница 68: ...2 Part Names and Slave Settings 2 18 NJ NX series CPU Unit Built in EtherCAT Port User s Manual W505...
Страница 80: ...3 EtherCAT Communications 3 12 NJ NX series CPU Unit Built in EtherCAT Port User s Manual W505...
Страница 236: ...9 Troubleshooting 9 38 NJ NX series CPU Unit Built in EtherCAT Port User s Manual W505...
Страница 274: ...Appendices A 38 NJ NX series CPU Unit Built in EtherCAT Port User s Manual W505...
Страница 275: ...I Index I 1 NJ NX series CPU Unit Built in EtherCAT Port User s Manual W505 I...
Страница 279: ......