Loggable Data

The following tables show the data that can be logged by the EcPlatform module. To specify the data to be logged by a module, call the SetLog function passing in an object of a class that inherits LogInput defined in that module.

EcPlatform Module

Class Name:

EcLogInput

Required Buffer Memory Size:

4 * Number of PDO Logging Data * maxLogBufferSampleSize

Loggable Data:

PDO data

PDO data can be logged using the EcPlatform module. Pdo data can be retrieved from any master and any slave.

The pdo array in the EcLogInput class is used to log PDO data. Each array element represents the ID of the slave, the type of PDO data, the index of the PDO and the subindex of PDO to be logged. The type of PDO data determines the formatting of the collected PDO data, and can be any member of the DataType enumerator class.

In addition to the above, the masterId member in the EcLogInput class is used to specify the master that logs the PDO data. If the interrupt of the specified master is different from the interrupt of the log channel, logging will stop immediately after it starts (Also see Function Calls Affected by Interrupts).

  • 1) In case the data for an axis is specified to be logged by a module other than EcPlatform: Interrupt of an axis

  • 2) In case other than 1): Interrupt of a device

The required buffer memory size for one PDO data is 320 bytes, assuming maxLogBufferSampleSize is 80. The required buffer memory size for 256 PDO datas is 81920 bytes. The required buffer memory size is not affected by the kind of EtherCAT object to be logged.