Please read our Legal Disclaimer before executing any steps on this article
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 1Enter the names you wish to use as Macros in the Macro section of either the IO or the Global Variable tables. | |
Step 2Add 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 3After 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 4This 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?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article