Skip to main content
Skip table of contents

Global Function for single-acting tool

Create Global Function

Global Function commonly used in various WCI & Skill can be created.

  • Function & Variable Writer → Select Global Function


Edit Global Function

Global Function can be newly created, or existing Global Function can be modified.

  • Create new Global Function: Add New
  • Modify existing Global Function: Check one of existing Global Functions → Edit



Create and modify Global Function

  1. Write the name and description of Global Function in Function Name and Description.
  2. In Parameter Name, enter Input parameters to be used in function.
  3. Set Return Type: Select Dynamic if there is a Return value, and select None if there is none.
  4. Set Visibility Type.
  5. In Text editor, enter the details of Global Function using DRL Codes (Python).
    → This must be entered in the form of Python function. Check to make sure that Function Name and Parameter entered in the UI window are the same.
  6. Save Global Function → Confirm


  • Text editor can be expanded, and Python grammar check is possible.
  • (정보) Click the button to write while checking DRL Command Guide.
  • Sample Code: CaloffsetPos()


Global Function List

Save Global Function to check the list as follows.

JavaScript errors detected

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

If this problem persists, please contact our support.