Skip to main content
Skip table of contents

Custom Code Command

Overview

The Custom Code Command records the user-written log to the Teach Pendant.

Property

Annotation

You can insert text in the description, unique meaning, or nickname for each Parameter to differentiate from many DRL Components.

Parameters

In Parameter Panel, it will help you create or select your variable to define the parameter of the chosen command.

For detailed DRL description other than parameter, please refer to the following online manual link: https://manual.doosanrobotics.com/help/programming/2.9/publish/en_us/tp_log-message-8427352.html.

Parameter Name

Data Type

Default Value

Description

message

string

-

Log message

  • Messages are limited to within 256 bytes.

  • It is recommended that the text be concise. For long text, some content is omitted with an ellipsis (…).

  • Formatting-related code such as newline (\n) or carriage return (\r) is not allowed.

Example

DRL Code

PY
tp_log("movej() is complete! ")
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.