Part program execution, Tool management/random tool, Paramacro commands – Rockwell Automation 8520-9API 9/Series OCI API Developer's Guide User Manual
Page 213: Part program commands, Oci commands b–5

OCI Commands
B–5
Publication 8520-6.6. - August 1999
Inst
ID
P3 type
Parameter 3
P2 type
Parameter 2
P1 type
Parameter 1
Dual
Proc.
# Params
OCI / 9/PC
Control Type
Command Description
Item (Name)
122
VERIFY_WITH_PORTB
Verifies part program with port B
All Controls
OCI
2
Yes
File Name
STRING1
Test(0)/Exec(1)
DINT
Part Program Execution
117
ENTER_MIDSTART_SEARCH_MODE
Enters midstart search mode
All Controls
Both
1
Yes
Midstart Type enum
DINT
118
EXECUTE_MIDSTART_SEARCH
Executes midstart search
All Controls
Both
1
Yes
Midstart Search Mode
enum
DINT
119
SET_MIDSTART_SEARCH_PATTERN
Sets midstart seach pattern
All Controls
Both
1
Yes
Search Pattern
STRING1
38
STOP_QUICK_CHECK
Stops Quick Check
All Controls
Both
Yes
File Name
STRING1
37
SYNTAX_QUICK_CHECK
Quick Checks syntax
All Controls
Both
Yes
Tool Management/Random Tool
26
ACTIVATE_RANDOM_TOOL
Activates random tool
"Lathe, Mill,
Dual"
Both
3
Yes
Tool Number
DINT
Pockets Needed
DINT
Shaft Pocket
DINT
25
BACKUP_RANDOM_TOOL
Backup random tool data to part program
"Lathe, Mill,
Dual"
Both
1
Yes
File Name
STRING1
24
BACKUP_TOOL_MANAGE
Backup tool management data to part program
"Lathe, Mill,
Dual"
Both
1
Yes
File Name
STRING1
111
RT_CUSTOMIZE_TOOL
Customize random tool pocket
"Lathe, Mill,
Dual"
Both
3
Yes
Pocket Number
DINT
Pockets Needed
DINT
Shaft Pocket
DINT
110
RT_SET_TOOL_NUM
Assign random tool number to pocket
"Lathe, Mill,
Dual"
Both
2
Yes
Tool Number
DINT
Number of Pockets
DINT
98
TM_DELETE_ALL
Delete all the tool management groups
"Mill, Dual Mill"
Both
Yes
95
TM_DELETE_GROUP
Delete tool group in tool management
"Mill, Dual Mill"
Both
1
Yes
Tool Group Number
DINT
97
TM_DELETE_TOOL
Delete tool from tool management group
"Mill, Dual Mill"
Both
2
Yes
Tool Group Number
DINT
Entry Number
DINT
96
TM_INSERT_TOOL
Insert tool into tool management group
"Mill, Dual Mill"
Both
3
Yes
Tool Group Number
DINT
Tool Number
DINT
Entry Number (where to
put tool)
DINT
54
TRANSFER_PAL_TO_PORTB
PAL and I/O to port B
All Controls
Both
No
Paramacro Commands
36
BACKUP_ALL_PARAMETERS
Backup all paramacro parameters
All Controls
Both
1
Yes
File Name
STRING1
32
BACKUP_COM1_PARAMETERS
Backup Com-1 paramacro parameters
All Controls
Both
1
Yes
File Name
STRING1
33
BACKUP_COM2A_PARAMETERS
Backup Com-2A paramacro parameters
All Controls
Both
1
Yes
File Name
STRING1
34
BACKUP_COM2B_PARAMETERS
Backup Com-2B paramacro parameters
All Controls
Both
1
Yes
File Name
STRING1
35
BACKUP_SHARED_PARAMETERS
Backup Shared paramacro parameters
Dual
Both
1
Yes
File Name
STRING1
103
CLEAR_COM_NAME
Clears all paramacro com2a names
All Controls
Both
1
Yes
Param Index (0 - all)
DINT
104
ZERO_ALL_COM_VALUES
Sets specified paramacro com params to zero
All Controls
Both
1
Yes
Com Table (enum)
DINT
Part Program Commands
2
ACTIVATE_PART_PROGRAM
Activates part program
All Controls
Both
1
Yes
File Name
STRING1
152
CHECK_IF_FILE_PRESENT
Checks for exsitance of file
All Controls
Both
No
8
COPY_PART_PROGRAM
Copies part program
All Controls
Both
2
No
Source Name
STRING1
Destination Name
STRING1