Rockwell Automation 8520-9API 9/Series OCI API Developer's Guide User Manual

Page 188

Advertising
background image

6–20

Array Indices and Strings

Publication 8520-6.6 - August 1999

filename.PPG – enter the name of the file in the selected directory

that the command is targeting. Valid filenames can be no
more than eight alpha–numerics long. Any filename
using numerics only (no alpha characters) is altered when
passed to the CNC to conform to the 9/Series or 9/PC
standard O word filename (Oxxxxx). The .PPG must
follow all part program names.

The following is a FILENAME example. This command deletes the
part program named O7654321 in the main directory.

[PP_DELETE (MAIND:“7654321.PPG”)]

Important: The HARDD option specifies a hard drive location on

your PC that is configured when the OCI system is
installed. Refer to your OCI Installation Manual for
details on specifying the path on your PC used for part
program storage.

TEXT_STRING string

Text_String command arguments to the data server use the following
format:

command “textstring”

textstring – Enter any null terminated, character string “”. The

length of the string will be verified by the control when it
receives the command.

The following is a TEXTSTRING example. This command writes a
textstring to the OEM message area of the CNC:

[OEM_MESSAGE_STORE (“This is CNC1 Ethernet Addr 130.120.10.3”)]

Advertising