
15.
CUSTOM MACRO
15.2
Creation of Custom Macro Body
(b) PMC D/R area information
#I200
to
#I959
System variables
#I200
to
#I
959 can be used to write and read data to and
from the PMC D/R area.
The system variables are associated with the location in the D/R area, as
follows:
#I200
to
#1219:
Variable timer (T)
#I220
to
#1224:
Keep relay (K)
#I
225
to
#1244:
Counter (C)
#I
200
to
#I
219:
Data table
(D)
#I
200
to
#I
219:
Internal relay (R)
Variable
#I200
#I201
.
#I219
#I
220
.
#I224
#1225
#IL
#I245
.
#Ii09
#I710
.
#Ii59
Continuous-state information
TOOOO,
T000l,T0002,T0003
T0004,T0005,T0006,T0007
.
KOOOO,
KOOOl,
KOOO2,KOOO3
m
K0016,K0017,
K0018,K0019
DO000,DOOOl,D0002,D0003
.
D1856,
D1857,'Dl858,
01859
ROOOO,
ROOOI,
R0002,R0003
.
R0996,
R0997;R0998,R0999
(Note l)The D/R area has been expanded to include more locations than that of the Power Mate MODEL-C.
The locations for the variable timer, keep relay, counter, data table correspond to the battery-powered memory
(D area) of the Power Made MODEL-C.
(Note 2)The input range is
-
2147483648
to
2147483647.
(C) Tool offsets
#2000
to
#2099
The tool offset can be determined by reading a tool off set system variable
(#2000
to
#2099).
It can also be modified by assigning a value to a system
variable.
1-86