Fixed cycles, G and m code data – Rockwell Automation 8520-9API 9/Series OCI API Developer's Guide User Manual
Page 194

OCI Data Items
A–6
Publication 8520-6.6. - August 1999
Control Type
Req
Dual
Proc.
Units
Dependency
Units
Array Indices
Num
Indices
OCI/9/PC
Data Type
Description
Item (Name)
32
FEED_VALUE
Feedrate Value
LREAL
Both
0
IPM/
MMPM,
IPR/
MMPR,
V/D
ACTIVE_UNITS,
FEED_MODE
Yes
R
All Controls
g
Fixed Cycles
285
BACK_BORING_SHIFT_DIRECTION
Shift direction for back boring cycles - Online
AMP
STRING1 [ ]
Both
3
Yes
R/W
All Controls
284
DRILLING_CLEARANCE_ AMOUNT
Clearance amount for drilling cycles - Online
AMP
LREAL
Both
0
Inch/MetĆ
ric/DeĆ
grees
ACTIVE_UNITS
No
R/W
All Controls
283
DRILLING_RETRACT_AMOUNT
Retract amount for drilling cycles - Online AMP LREAL
Both
0
Inch/MetĆ
ric/DeĆ
grees
ACTIVE_UNITS
No
R/W
All Controls
288
THREADING_PULLOUT_ANGLE
Pullout angle for threading cycles - Online AMP LREAL
Both
0
Degrees always
No
R/W
Lathe,DLathe
287
THREADING_PULLOUT_DISTANCE
Pullout distance for threading cycles - Online
AMP
LREAL
Both
0
Thread units
No
R/W
Lathe,DLathe
h
G and M Code Data
29
G_CODE_STATUS
G Code Status
INT [ ]
Both
1
Num G groups
Yes
R
All Controls
30
G_GROUP_PROGRAMMED
G Group Programmed
DINT bit pattern
Both
0
Num G groups
Yes
R
All Controls
27
M_CODE_STATUS
M Code Status
INT [ ]
Both
1
Num M groups
Yes
R
All Controls
28
M_GROUP_PROGRAMMED
M Group Programmed
DINT bit pattern
Both
0
Num M groups
Yes
R
All Controls
6
NUM_G_GROUPS
Num G groups
UINT Max Value 23 Both
0
No
R
All Controls
5
NUM_M_GROUPS
Num M groups
UINT Max Value 14 Both
0
No
R
All Controls
40
SECONDARY_AUX_WORD
Secondary Auxiliary word Value
DINT
Both
0
Yes
R
All Controls
i
In Process Dresser
164
CURRENT_DRESSER_RPM
Current dresser RPM
LREAL
OCI
0
RPM
No
R
Grinder
163
CURRENT_WHEEL_DIAMETER
Current wheel diameter
LREAL
OCI
0
Inch/MetĆ
ric/DeĆ
grees
ACTIVE_UNITS
No
R
Grinder
171
DRESSER_AMOUNT_PER_REV
Dresser amount per rev
LREAL
OCI
0
Inch/MetĆ
ric/DeĆ
grees
ACTIVE_UNITS
No
R/W
Grinder
161
DRESSER_HOLD_STATUS
Dresser Hold Status
UINT
OCI
0
No
R
Grinder
172
DRESSER_RETRACT_
DISTANCE
Dresser retract distance
LREAL
OCI
0
Inch/MetĆ
ric/DeĆ
grees
ACTIVE_UNITS
No
R/W
Grinder