Creating a macro with DENSO WINCAPS III

  1. Home
  2. Knowledge Base
  3. Wincaps III
  4. Creating a macro with DENSO WINCAPS III

**Attention** : Read this resource material carefully and in its entirety before use, to ensure it is understood and used properly.  Failure to properly follow the instructions in the resource materials DPAM provides may result in damage to your equipment.  As a result, by using the resource materials, you are assuming the risks associated with modifying your equipment. DENSO holds no liability, implied or otherwise, for damage, injury or any legal responsibility incurred, directly or indirectly from the use of the resource materials, including any loss of data or damage to property which may occur by your use of the resource materials. The use of the resource materials are not recommended unless you have technical knowledge and functional experience with the equipment and related software. DENSO is unable to provide support, remote or otherwise, for the information included in the resource material, nor for the ancillary topics relating to the information included in the resource materials. Therefore, if you are not fully comfortable with it, we strongly recommend that you send your unit to one of our Regional Support Centers for repair.  The information contained in the resource materials are subject to change at the sole discretion of DPAM.

Overview

Macros as found in PacScript and DENSO robot arms replaces a part of code with a defined name.  Macros have the potential to greatly assist in reading through code and intuitively understanding what is going on.

Video Tutorial

Step by Step Guide

Step 1

Enter the names you wish to use as Macros in the Macro section of either the IO or the Global Variable tables.

Step 2

Add and replace your Macro names into your variables.  For Example: instead of P[1], you’ll type P[Pos_Home].  Instead of IO[24], you’ll type IO[Part_Processed].  Note the brackets are required to use Macros.

Step 3

After entering your Macro Names into your program(s), you’ll need to create a header file to define them.  This can be done easily by the following: Project -> Create macro definition file -> Variable

Step 4

This will create a header definition file, and add it to your program list.  You’ll now need to include that new header file in your program that has the Macros. 

Owner’s Manual Reference

https://www.fa-manuals.denso-wave.com/en/usermanuals/000725/


Was this article helpful?

Related Articles