Yaskawa Robot 3D View (OLP)
Basics | Viewer | Point editor | Robot 3D View | Settings | Plugins

The Yaskawa OLP plugin (menu Yaskawa » Plugins » Yaskawa OLP) shows the JBI job opened in the Yaskawa viewer in a 3D environment. There are no CAD models of the Yaskawa robots - the robot is drawn as a dummy model from YaskawaGenericKinematics.xml (see Kinematics) with the pulses per degree of the controller. Everything is drawn in the robot coordinates (ROBOT) of the controller, the floor lies on the mounting surface of the robot. A ceiling mounted robot (installation angle 180° in RO.PRM) is drawn hanging with the grid at the ceiling. For a robot on a base axis (gantry) the path is drawn in the robot coordinates; points stored in BASE or USER coordinates need the position of the base axis, which is not modelled - they are not drawn and the message window lists them:
PULSE points of the same robot are shown: the Cartesian values in the ROBOT frame are the same as on the teach pendant (here C00005 of a test job: 676.468, -334.059, -1784.469 mm, Rx -110.3689, Ry 3.4115, Rz 174.6087).

Window Options Tabs Buttons
Touch up and Add point change the program in the editor (the file is saved as usual) and require the Yaskawa license. Paths generated off-line are not safe - test an off-line program before running the robot in automatic mode.

Command API

The pose of the robot is available through plugin_cmd with plugin = "Yaskawa OLP" (see VeRa / command API), e.g. {"cmd": "plugin_cmd", "plugin": "Yaskawa OLP", "command": "olp_pose", "z": 1200, "frame": 0, "tool": 1}. Open the view first with run_plugin "Yaskawa OLP" while a Yaskawa job 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_statusframe, tool (numbers)state of the view: open, program, connected (viewer of the job), robotLoaded, group (RB1 ...), baseAxis, frames / tools (numbers in the combos), robotInfo, mountingSupported / mountingError and the pose of the panel (as olp_pose); frame / tool select the combos Frame / Toolthe current combos
olp_posex, y, z (mm)TCP of the tool of the combo Tool in the frame of the combo Frame - the same as editing the Cartesian fields: inverse kinematics with the RCONF of the current axes, range of the model, soft limits, the robot is movedthe current field values
rx, ry, rz (degrees)orientation Rx, Ry, Rz (Yaskawa)the current field values
frame, tool (numbers)selected first: frame 0 = Robot, n = user frame n; tool number, -1 = flange; a number not in the combo is an error with the listthe current combos
olp_axesa1 .. aN (degrees)axis fields of the panel in the order of the fields (S, L, U, R, B, T ...); the range of the model is checked - a value outside gives an error and the robot is not moved; soft limits are marked as in the GUI and listed in limitWarningsthe current field values
axes (array)the same as a1 .. aN as an array (degrees); more values than axes is an error; aN has priority-
Answer of olp_pose and olp_axes: axes [deg], axisNames, x .. rz, frame / frameName, tool / toolName, rconf, type; olp_axes also limitWarnings (when a soft limit is reached). Without parameters the current pose is only read. Errors are in the answer: ok = false and error with the reason (no solution, range of the model, no kinematics of the robot, frame / tool not in the list, 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.
Basics | Viewer | Point editor | Robot 3D View | Settings | Plugins