Skip to content

Programming Interface Description

The robot program can be created or written through page [Program].

Serial numberNameDescription
1Program Information CardInclude Configure tabs: Command, Graph, Variable, and Track.
2Program Node CardContaining node classification and node list.
3Programming CardContaining the program manager toolbar, program tree, and program tree toolbar.

Program information card

Command

The [Command] page is for you to configure nodes selected in the program tree. After a program node is selected, the configurable items of the node will be displayed/can be set on the page [Command].

  • Program start waypoint: set the waypoint from which the program starts running.

    • Auto: Click [Run] to enter the [Move] interface, move the robot arm to the start waypoint, and then click [OK] to start running the program.
    • Ignore: Click [Run]. Then, the robot arm moves to the start waypoint, and the program starts running.
  • Start speed fraction: Check to set the start speed fraction of the program.

  • Add Before Start Sequence: Check to add a sequence to be executed before the master program starts running.

  • Add After Pause Sequence: Check to add a sequence to be executed after the master program pauses.

  • Add Before Resume Sequence: Check to add a sequence to be executed before the master program resumes running.

  • Add After Stop Sequence: Check to add a sequence to be executed after the master program stops.

  • Program Loops Forever: Check to enable the master program to run continuously.

Graphics

The page [Graphic] displays the 3D model of the current robot, whose actions are consistent with those of the real robot.

Table: Graphic symbols of model operation buttons
IconNameDescription
UpMove the robot upward.
DownMove the robot downward.
LeftMove the robot left.
RightMove the robot right.
Turn leftTurn the robot clockwise.
Turn rightTurn the robot counterclockwise.
EnlargeEnlarge the robot.
MicrifyMicrify the robot.
ResetReset the robot's position and view.
Table: Graphic symbols of model display buttons
IconNameDescription
BaseHide/show base
Robot armHide/show robot arm
Target position/poseHide/show position/pose of target waypoint
User coordinate systemHide/show user coordinate system
TrackHide/show track
WaypointHide/show waypoint
ObstacleHide/show obstacles
Tool envelope ballHide/show tool envelope ball
Point cloudHide/show point cloud

Variables

The page [Variables] displays the base coordinate system, tool coordinate system, waypoint joint angle, and end-of-tool TCP position/pose of the running program, as well as all the variables and values in the programs and profiles. The information shown in this page is the same as that on the page called out by "Home > Variables."

For information on variable types and data types, please refer to "Configuration - General - Variables."

Tracking

The page [Backtrace] displays the start waypoint of the current program and the time when the program runs the node. You can click [Variables] in the log list to view the detailed information, offering convenience for your program debugging.

Programming card

The programming card displays or allows the user to edit the program tree, manage the program files, etc.

Serial numberNameDescription
1Program manager tool barManage program files.
2Program tree toolbarEdit the node in the program tree.
3Search boxEnter keyword to search for nodes in the program tree.
4Program treeDisplay or edit programs.

Program manager tool bar

Serial numberNameDescription
1EditShow/hide the program tree toolbar.
2SearchShow/hide the search box, in which a keyword can be entered to search for nodes in the program tree.
3NewCreate a new program file.
4OpenOpen the program file.
5SaveSave the program file.
6Program nameDisplay the name of the current program file.
Click the program name to view the name of the profile associated with the current program file.

Tip

  1. If you use the I/O interface or the Start/Stop button on the control handle to control the start/stop of the program, please save the program file first. Otherwise, the program cannot be started. For detailed I/O function settings, please refer to I/O Configuration. For the operation of the control handle, please refer to the Hardware User Manual.
  2. After a program is written, if the associated configuration file is modified, it is required to save the configuration file first and then the program file. Otherwise, a program runtime error may occur.

Program tree

  • Graphically programmed commands are added to the program tree, which can be called "program nodes" or " nodes" for short. Some nodes may contain other nodes, for example, the [Move] node, which can contain the [Waypoint] node. Such nodes can be called "program blocks". In other words, a program block is composed of multiple program nodes.

    • Folding/unfolding a program block
      • Click or before the program block to expand it or make it collapse. -Double-click the program block name to unfold/fold this program block. (Recommended)
      • Click or to expand all program blocks in the program tree or make them collapse.
  • Initial variables: the first value assigned to the program variables when the program is started. The [Init Variables] node is added by default before the master program. In the [Init Variables] command page [Init Variables] for short), click the [Variables] dropdown box, select initial variables, and click the expression input box to assign the initial variables a value.

    • Last-Run Value: when this is checked, the value of the initial variables is replaced with the value of the initial variables when the program is stopped. If a new program is loaded after the current program pauses, the value of the initial variables when the current program was stopped cannot be used and will be reset to the user setting.

Tip

To use this function normally, you are required to create a variable first. If you do not set the initial variables, the master program runs directly.

  • When the node in the program tree does not conform to the preset logic, the system will highlight associated nodes in yellow. When the node is configured in accordance with the preset logic, the system displays the node in black normally.

  • Breakpoint: To add a breakpoint to a line in the program tree, click the Line No. The newly set breakpoint is displayed in a darker color. After running to this line, the program will pause directly. At this time, click [Step] in the menu bar. Each time you click it, the program will run for one line to realize single-line running.

Description of graphical symbols in program tree tool bar

IconDescription
Up, move a node upward.
Down, move a node downward.
Undo, undo changes to the command.
Redo, redo changes to the command.
Cut, cut a node, and allow it to be pasted elsewhere in the program tree.
Copy, copy a node and allow it to be pasted elsewhere in the program tree.
Paste, paste a cut or copied node.
Delete, delete a node.
Inhibit, inhibit a node. The program will directly skip the inhibited node during running.
An inhibited node can also be released from inhibition.
[Inhibit] allows one to quickly change a program without destroying the original content.
Unfold all nodes.
Fold all nodes.

Full screen: Display the program tree in full screen.
Restore, restore the program tree to default display.

View scripts.
View graphical program.