Breadcrumbs

DRL Component Detailed Setting

Mandatory Workcell Item Action/ User Defined Workcell Item Action

image2021-7-15_1-6-51.png

image2021-7-15_1-6-59.png


  1. When changing data to System Variable within DRL Code, The behavior of WCI or SKILL using the same System Variable may not work properly. Please indicate the precautions and the details of the System Variable being used in DRL Code.

  2. When writing Workcell Item Writer or Skill Writer items, please use UI Component > Text Edit Component for notices.

  3. In case of using System Variable in DRL Code, it is necessary to register System Variable first in Teach pendant.


Item

Description

Workcell Item Action Name

Assign the name of Workcell Item Action to add. It is not possible to edit the name of the Mandatory Action if already assigned

But you can write the User Defined Workcell Item Action.

The name of Mandatory Action varies depending on the category of the workcell item. 

  • Type of Mandatory Workcell Item Action
    - Gripper → Grasp, Release
    - Tools → Run, Stop
    - Machine → INTLK_On , INTLK_Off

Set Signal

You can select the added signal and set the value of the selected signal. The signal set here will be used when writing DRL.

Add New Output Signal

Add a signal.

Generate DRL Code

It creates basic DRL function by combining the signal set from the set signal.

Write DRL Code

Edit the DRL Code.

Syntax Check

Check the syntax of the DRL Code.

Global Variable
image2021-6-9_13-54-22.png

Item

Description

Select Global Variable

Select the Variable registered from the Global Variable menu. The following screen is displayed when clicking the search button.


image2021-6-9_13-57-7.png

Variable Type

It displays the type of the global variable selected.

Default Value

It displays the value of the global value selected.

Global Function
image2021-6-9_14-5-26.png
image2021-6-9_14-6-59.png

Item

Description

Select Global Function

Select the Function registered from the Global Function menu. The following screen is displayed when clicking the search button.

image2021-6-9_14-4-5.png

Parameter

It displays the input parameter of the global function selected and connects the input parameter and the UI component.

Return:

It displays the return type of the global function selected.