Console Command Summary

This reference documentation section describes the commands that can be issued via the Guidance Controller "console."  The controller console is a simple ASCII text interface that accepts and processes a single command at a time.  These commands allow GPL projects to be loaded, executed, and debugged and perform a number of other system level operations. 

For the most part, all of the functions provided by the console commands are available via the web based Guidance Operator Interface.  However, whereas the web interface requires a number of sophisticated elements of the system to be operational, console commands can be sent to the controller via a simple RS-232 interface. To provide somewhat greater functionality, the console commands can also be issued via the web using a Telnet interface.

The following table summarizes each of the console commands.

Command

Description

Break

Pauses the execution of an active thread.

Compile

Converts a loaded GPL project from ASCII into an internal representation that can be executed.

Continue

Resumes execution of a paused thread.

Copy

Copies a file on devices like the flash disk and ROMDISK.

Create

Creates a file and writes data into the file.

DataLog

Lists output from the data logger on the console or writes it to a file.

Date

Displays or sets the system date and time.

Del

Deletes a file.

Directory

Lists the files within a directory or displays the free and total space in the flash disk.

ErrorLog

Displays or clears the system error log.

Execute

Executes a GPL program instruction.  May be used with the /console web URL to set and get variable values.

Format

Reinitializes the /flash disk or /NVRAM device, erasing all user data.

Load

Loads a GPL project from a disk source into memory.

Pc

Sets a new value of a Parameter Database item.

Pd, Pdx

Displays Parameter Database values.

Set Break

Sets a breakpoint in a procedure.

Set DIO

Sets the state of a digital input or output signal.

Set Global

Sets the value of a global variable.

Set Latch

Modifies encoder position latch properties.

Set Modbus

Either disables the MODBUS/TCP driver or enables it and puts into effect any changed driver properties.

Set NoBreak

Clears a breakpoint set by the Set Break command

Set Payload

Modifies the Payload parameter for a selected robot.

Set Thread

Sets one or more thread attributes for a paused thread.

Show Break

Displays information on all set breakpoints.

Show DIO

Displays the state of one or more digital input and output signals.

Show FPGA

This command displays information about the currently loaded FPGA firmware.

Show Global

Displays the value of a global variable.

Show GSB

Displays information about the RS-485 communication with any connected GSB, GIO, or SFT boards.

Show Latch

Displays information about the configuration of any encoder position latches and pending latch events

Show Memory

Displays information about the controller’s memory usage.

Show Modbus

Displays information about the MODBUS/TCP configuration and status.

Show Network

This command shows information about the Ethernet or RS485 networks.

Show Payload

Displays the Payload parameter for a selected robot.

Show SIO

Displays information about the performance of connected SIO (RS-485) devices.

Show Stack

Displays information about the execution stack for a thread.

Show StartupLog

Displays the messages output to the console when the controller was started.

Show Thread

Displays information about one or all threads.

Show Variable

Displays the values of variables.

Shutdown

Prepares GPL for turning off the controller 24V logic power.

SoftEStop

Brings all robot motions to a rapid halt and leaves motor power enabled.

Start

Begins execution of a compiled project.

Step

Executes one or more steps of a procedure during debugging.

Stop

Stops the execution of an active thread.

Sync

Wait until all pending data is written to the flash and the flash device is not busy.

Type

Displays the contents of an ASCII file on the console.

Unload

Remove a project from memory.

Xmodem

Send or receive a file using the Xmodem protocol.