
B–61803E–1/10
APPENDIX
E. FANUC Super CAP T/CAP II T MACRO
COMPILER/EXECUTOR (Series 16/18)
and Super Capi T Macro Compiler/
EXECUTOR (Series 16i/18i/21iT)
439
In FANUC Super CAP T/CAP II T and Super CAPi T, all programs are
stored in head 1. Extended P-code variables No. 20000 and after must be
separated for head 1 and head 2. When head 2 is selected, user programs
in head 2 are required to read/write extended P-code variables for head 1.
These commands have been added for reading/writing variables stored in
the remote head.
G316 Pp Dd ; (1)
G316 Dd Qq ; (2)
(1) This command reads the value of parameter No. d stored in the remote
head and stores it in parameter No. p in the local head.
(Example) G316 P10000 D20000 ;
The value of parameter No. 20000 in the remote head
is transferred to parameter No. 10000 in the local
head.
(2) This command writes the value of parameter No. q stored in the local
head in parameter No. d stored in the remote head.
(Example) G316 D10001 Q20001 ;
The value of parameter No. 20001 in the local head
is transferred to parameter No. 10001 in the remote
head.
(Restrictions)
D This command cannot be used in an execution macro.
D System variables #9000 to #9999 cannot be specified.
D In a conversational macro program, variable d of the remote head
must be a special P-CODE variable (#10000 or later), extended
special P-CODE variable (#20000 or later), or common variable.
D In an auxiliary macro program, variable d of the remote head must
be a special P-CODE variable (#10000 or later) or extended
special P-CODE variable (#20000 or later).
E.9
COMMANDS FOR
READING/WRITING
VARIABLES STORED
IN THE REMOTE
HEAD
E.9.1
Outline
E.9.2
Description