
3. EXECUTION MACRO
B–62073E–2/03
48
In the user program, creation and execution of Series 15 custom macro
format custom macros can be performed as a standard. Common
variables can also be displayed and set as a standard on the common
variable screen.
The common variables used by P–CODE program can be selected by
parameter (No.8503) as to whether they are the same or different as those
used normally by NC macro.
When the common variables are set as different ones they can be
displayed after the normal custom macro variables by setting parameter
(No. 8502 #1).
The local variables used by the P–CODE program are the same as those
normally by custom macros in execution macros, but in conversational
macros the local variables used are different from those used normally
used in custom macros. Further, the conversational macro local variables
can be displayed after the local variables used by normal custom macros
by setting parameter No. 8502.
SETVN used for setting a variable number cannot be used with a
P–CODE.
3.3
DISPLAYING AND
SETTING VARIABLES
3.3.1
User Program
Common Variables
(#100–#199,
#500–#999)
3.3.2
P–CODE Program
Common Variable
(#100–#199,
#500–#999)
3.3.3
P–CODE Program
Local Variable
(#1–#33)
3.3.4
Variable Name Setting
(SETVN)