Skip to main content
Skip table of contents

Mode Selection

The Mode Selection function provides Two types of DRL programming editors.

Document - Dart-IDE - DRL Generator - DRL User Interface - Mode Selection UI
  • 1. The Block Coding is the mode that shows where you can design your commands and set the properties and variables for commands.

Document - Dart-IDE - DRL Generator - DRL User Interface - Variable List Panel  - Block Coding mode
  • 2. The DRL Coding is the mode that shows the source code used to control the robot’s activities called the DRL Code page. The function to edit DRL Coding is TBD in the beta version.

Document - Dart-IDE - DRL Generator - DRL User Interface - Variable List Panel - DRL Coding mode

How to convert between Block coding and DRL Coding

1. Convert Block Coding → DRL Coding

Step 1: With the available commands in Panel, you can choose, drag and drop it into the task list (Move J in this case)

Step 2: Turning to DRL Coding UI, the code will be automatically defined after dragged and dropped progress.

With the value input in properties panel in Block Coding UI, it will generate the same value with the form of DRL Coding.

2. Convert DRL Coding → Block Coding

First, if you want to convert DRL Coding to Block Coding, you need to understand Source DRL generate Default and Source DRL generate with parameter of all the commands defined.

Please refer to this page to more information about good example for Source DRL generate Default and Source DRL generate with parameter of available commands:

https://doosanrobotics.atlassian.net/wiki/spaces/DDI/pages/2236252237/DRL+Generator+Functions

Step 1: Define Source DRL generate Default (Source DRL generate with parameter if needed).

In this case, I define Move J Command with:

  • Source Default: movej()

  • Source with parameter: movej(pos=None, vel=None, acc=None, time=None, radius=None, mod= DR_MV_MOD_ABS, ra=DR_MV_RA_DUPLICATE) (You can enter the value needed into Source with Parameter)

Step 2: After defined, Block Coding will appear with the same value from DRL Coding that you have defined.

JavaScript errors detected

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

If this problem persists, please contact our support.