Logs View

Overview

The Logs view provides information on how the program is running and displays different types of messages. By default, time stamps are added and the messages are color-coded according to their severity. You can disable the time stamp and the color in the Properties View.

NOTE: It is also possible to disable log messages completely. Thus, if the Logs view is empty, verify whether the Mode parameter in the Properties of the Logs view is set to None.

Message type

Description

Color

Action

Notification concerning a certain action executed in the scene.

black

Communication

Notification providing controller information, such as connection set.

black

Error

An error has been detected.

red

System

Information provided during start-up of EcoStruxure Machine Expert Twin.

blue

Debug

Customized messages defined in the Script view with the command 'Log.DebugMessage<"Your message">' to be generated, for example, when activating a specific object.

black

Warning

Advisory messages indicating that the scene is not playing properly, for example, due to the connection to the controller being interrupted.

orange

Information

General information about the instance.

green

Select the check box Tail to activate an automatic scrolling function to display new log messages that are added at the end of the Logs list. If this check box is not selected, you will have to scroll manually to the latest log messages at the end of the list.

Contextual Menu

Right-click a message to open a contextual menu with the following commands:

Command

Description

Clear

Deletes all messages from the Logs view.

Copy

Copies the selected line or lines to the clipboard.

Insert Separator

Inserts a line with the time stamp at the end of the messages. This can be useful to structure the log, for example, to mark the time when a test is being started.

Customizing the Logs View

To customize the log messages, select a message and configure your individual settings in the Properties view.