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

Page 131

Advertising
background image

5–20

OCI Data Server CNC Commands

Publication 8520-6.6 - August 1999

SAVE_DEVICE_SETUP (no argument)

Use this command to save changes made to the control’s external
device setup for ports A and/or B. After configuring a device for a
specific serial port (such as baud rate, stop bits, etc...) use this
command to save and activate your changes.

For example:

[SAVE_DEVICE_SETUP]

saves the device setup for the control’s port A and port B.

Important: This command does not apply to the 9/PC CNC.

SINGLE_TX_SERIAL_IO (character)

This command is used to transmit a single character out the serial
port when the I/O monitor is active. Specify the character to be sent
out the serial port as an argument for this command. The transmitted
character must be an integer (DINT) equivalent of the ASCII
character to transmit. For example:

[SINGLE_TX_SERIAL_IO (68)]

will transmit the lone character “D” out the serial port. Note this is
used primarily for I/O monitor diagnostics.

Important: This command does not apply to the 9/PC CNC.

START_SERIAL_IO_MONITOR (no arguments)

This command is used to start the serial I/O monitor. For example:

[START_SERIAL_IO_MONITOR]

will begin the I/O monitoring operation on the port selected with the
command ENTER_SERIAL_IO_MONITOR.

Important: This command does not apply to the 9/PC CNC.

Advertising