When the Execution Log is specified:
The log is recorded to the internal buffer of the CPU Unit and the instruction is completed normally.
When an SD Memory Card is inserted into the CPU Unit, the log records stored in the internal buffer are saved
into the SD Memory Card.
When the Debug Log is specified:
The Debug Log cannot be recorded. The instruction is terminated due to an error (Operation Log Disabled).
An error occurs for this instruction in the following cases. Error will be TRUE.
When the instruction was executed while the initialization processing of the DB Connection Service
was in progress
When the instruction was executed while the DB Connection Service was stopped due to an error
When the instruction was executed after the DB Connection Service was shut down or while the DB
Connection Service was being shut down
When a value that is not defined as an enumerator was specified in the LogType input variable.
When the value of the LogCode input variable is outside the valid range
When the SD Memory Card is not available or write-protected
When the log cannot be recorded because the specified Operation Log is disabled
When more than 32 DB Connection Instructions were executed at the same time
Sample Programming
This section gives sample programming for putting the following log record into the Execution Log when the
trigger variable changes to TRUE.
Log code: 100
Log name: Production Order
Log message: ‘Production Start, RecipeCode=12345678’
Ladder Diagram
Main Variables