Paramacro commands, Part program commands, Oci commands b–4 – Rockwell Automation 8520-9API 9/Series OCI API Developer's Guide User Manual
Page 212
OCI Commands
B–4
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)
54
TRANSFER_PAL_TO_PORTB
PAL and I/O to port B
All Control
OCI
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
153
COPY_PART_PROGRAM_FOR_EDIT
Copies part program to/from OCI for editing
All Controls
Both
No
132
COPY_MEM_TO_MEM
Copies part program file memory to memory
All Controls
Both
3
No
Source File Name
STRING1
Dest File Name
STRING1
Test(0)/Exec(1)
DINT
133
COPY_MEM_TO_PORTA
Copies part program file memory to port A
All Controls
OCI
3
No
Source File Name
STRING1
Copy to type enum
DINT
Test(0)/Exec(1)
DINT
134
COPY_MEM_TO_PORTB
Copies part program file memory to port B
All Controls
OCI
3
No
Source File Name
STRING1
Copy to type enum
DINT
Test(0)/Exec(1)
DINT
135
COPY_PORTA_TO_MEM
Copies part program file port A to memory
All Controls
OCI
3
No
Dest File Name
STRING1
Copy from type
enum
DINT
Test(0)/Exec(1)
DINT
136
COPY_PORTB_TO_MEM
Copies part program file port B to memory
All Controls
OCI
3
No
Dest File Name
STRING1
Copy from type
enum
DINT
Test(0)/Exec(1)
DINT
3
DEACTIVATE_PART_PROGRAM
Deactivates part program
All Controls
Both
Yes
9
DELETE_PART_PROGRAM
Deletes part program
All Controls
Both
1
No
File Name
STRING1
114
ENTER_PART_PROGRAM_
SEARCH_MODE
Enters part program search mode
All Controls
Both
1
Yes
Search Type enum
DINT
115
EXECUTE_PART_PROGRAM_SEARCH
Executes part program search
All Controls
Both
1
Yes
Search Method enum
DINT
14
REFORMAT_MEMORY
Reformats part program memory
All Controls
Both
No
12
RENAME_PART_PROGRAM
Renames part program
All Controls
Both
2
No
File Name 1
STRING1
File Name 2
STRING1
6
SEQUENCE_STOP_PART_PROGRAM
Sequence stop part program
All Controls
Both
1
Yes
Stop Sequence No
DINT
15
SET_DIRECTORY
Sets directory
All Controls
Both
2
No
Target Directory
DINT enum
Password
STRING1
11
SET_PART_PROGRAM_COMMENT
Sets comments for part program
All Controls
Both
2
No
File Name
STRING1
Comment String
STRING1
13
SET_PART_PROGRAM_INPUT_DEVICE
Inputs device
All Controls
Both
1
Yes
Source of Part Prog
enum
DINT
116
SET_PART_PROGRAM_SEARCH_
PATTERN
Sets part program search pattern
All Controls
Both
1
Yes
Search Pattern
STRING1
10
VERIFY_PART_PROGRAM
Verifies part program
All Controls
Both
3
No
File Name 1
STRING1
File Name 2
STRING1
Source of Part Prog enum
DINT
121
VERIFY_WITH_PORTA
Verifies part program with port A
All Controls
OCI
2
Yes
File Name
STRING1
Test(0)/Exec(1)
DINT