The ABB Robot 3D View plugin (menu ABB » Plugins » ABB Robot 3D View) shows the RAPID module opened in the ABB viewer in a 3D environment. The path is built from the motion instructions of the module (MoveJ, MoveL, MoveC, MovePTP ...) with their \Tool and \WObj; the robot is shown with a CAD model if available, otherwise with a dummy model built from the DH parameters.
Window
- 3D view - robot model, path of the program, frames and TCP; views (axonometric, front, top ...), Fit in view and Grab the preview (export of the view to an image) in the toolbar,
- View menu - display mode (shaded / wire frame), grid on / off,
- Tools menu - add a cube or a sphere to the scene (e.g. to check a fence or an obstacle), grab the preview, Options (grid and colour settings),
- Message Window - information about the model, the kinematics and the points (errors, axis limits, unreachable positions).
- Tool / WObj - tool data and work object of the selected instruction,
- A1 .. A6, E1 - axis values; changing them moves the robot, X, Y, Z, Rot X/Y/Z, the quaternion Q and the configuration CONF are calculated,
- X, Y, Z, Rot X/Y/Z - editable: the TCP of the tooldata Tool in the work object WObj of the panel (orientation as Euler angles ZYX); a new value moves the robot by the inverse kinematics with the confdata of the current axes kept. The value is taken on Enter, when the field is left or with the arrows (not after every typed character). When there is no solution, an axis limit is exceeded or the mounting is not supported, the message window gives the reason and the previous position comes back,
- Show flange position, Show TCP, Show path, Show points' labels,
- Path - motion instructions of the module with the target, tool and work object,
- WObj - work objects of the module,
- Tool - tool data of the module,
- Compare with... - draws the path of another module from the same directory.
- Touch up - writes the current position of the robot to the selected point,
- Add point - adds a new motion with the current position after the selected point.
Touch up and Add point change the program in the editor (the file is saved as usual) and require the
ABB license. Paths generated off-line are not safe - test an off-line program before running the robot in
automatic mode.
Only 6-axis robots are supported. A robot with a track or an external mechanical unit
(for example TRACK in MOC.cfg) is reported with Only 6 DOF ABB robots are supported.
Robot mounting: without a track the base frame of the robot must be the world frame
(base_frame_pos / base_frame_orient in MOC.cfg not set or 0) and gravity_alpha /
gravity_beta must be 0 (floor mounted). Otherwise no Cartesian positions are calculated and the robot is
not drawn - the message window shows the values.
Command API
The pose of the robot is available throughplugin_cmd with plugin = "ABB OLP" (see
VeRa / command API), e.g. {"cmd": "plugin_cmd", "plugin": "ABB OLP", "command": "olp_pose",
"z": 1200, "tool": "tool0", "wobj": "wobj0"}. Open the view first with run_plugin "ABB OLP" while an ABB
program is open in the editor; otherwise the answer is an error. The commands use the same functions as the fields of the
panel.
| Command | Parameter | Meaning | Default |
|---|---|---|---|
olp_status | tool, wobj (names) | state of the view: open,
program, connected (viewer of the program), robotLoaded, task,
tools / wobjs (entries of the combos), mountingSupported /
mountingError and the pose of the panel (as olp_pose); tool / wobj
select the combos Tool / WObj | the current combos |
olp_pose | x, y, z (mm) | TCP of the tool of the combo Tool in the work object of the combo WObj - the same as editing the fields X, Y, Z: inverse kinematics, axis limits, the robot is moved | the current field values |
rx, ry, rz (degrees) | orientation as the fields RX, RY, RZ = Euler angles ZYX (the quaternion only in the answer) | the current field values | |
cf1, cf4, cf6, cfx (int) | confdata of the solution | the confdata of the current axes | |
tool, wobj (names) | selected first, as in the combos; an unknown name is an error with the list of the names | the current combos | |
olp_axes | a1 .. a6 (degrees) | axis fields A1 .. A6; the limits of the fields are checked - a value outside gives an error and the robot is not moved; the Cartesian pose follows by the forward kinematics | the current field values |
e1 | linear unit E1; an error when the robot has no E1 (field not active) | the current field value |
olp_pose and olp_axes: axes [A1 .. A6], e1 (when the robot has
E1), x .. rz, poseKnown, quaternion [q1 .. q4], confdata
[cf1, cf4, cf6, cfx], tool, wobj. Without parameters the current pose is only read.
Errors are in the answer: ok = false and error with the reason (no solution, axis
limit, unknown tool / work object, robot or configuration not loaded, no kinematics data - pose not known, a value of a wrong
type, unknown command); the axes are not changed and the answer has the unchanged values.
See also 3D Modelling for the CAD repository of robot models.


