ABB Robot 3D View (OLP)

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 Options Tabs Buttons
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 through plugin_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.
CommandParameterMeaningDefault
olp_statustool, 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 / WObjthe current combos
olp_posex, 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 movedthe 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 solutionthe 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 namesthe current combos
olp_axesa1 .. 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 kinematicsthe current field values
e1linear unit E1; an error when the robot has no E1 (field not active)the current field value
Answer of 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.