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
- 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).
- Robot - control group of the job (RB1, RB2 ...); the path contains the robot points of this group,
- S, L, U, R, B, T (and E for 7-axis robots) - axis values in degrees within the range of the model; values outside the range of the model or outside the soft limits of the controller are marked red,
- Frame / Tool - frame (robot or a user frame of UFRAME.CND) and tool (TOOL.CND) of the Cartesian values X, Y, Z, Rx, Ry, Rz; Type is the configuration of the robot (RCONF),
- X, Y, Z, Rx, Ry, Rz - editable: the TCP of the tool Tool in the frame Frame (robot or user frame) of the panel; a new value moves the robot by the inverse kinematics with the configuration RCONF 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 path, Show points' labels, Show user frames, Show TCP, Show work envelope, Show flange trihedron,
- Synchronize with the editor - the selected motion follows the cursor in the editor and the other way round,
- Path - every motion instruction with its line number; the instructions after a motion are its children, comments are grey. Red lines have a point which cannot be shown, grey lines have no point of the selected robot. A double click shows the line in the editor,
- User frames - frames of UFRAME.CND, each can be hidden; the selected one is drawn bigger,
- Tools - tools of TOOL.CND with their weight; selecting a tool sets the TCP,
- Compare with... - draws the path of another job of the same controller in blue.
- Touch up - writes the current axis values to the point of the selected motion (PULSE points in pulses, RECTAN points in their own frame and tool),
- Add point - new PULSE point C..... (next free number) at the current axis values with the tool of the Tool combo and its motion line (MOVJ or MOVL, editable) after the selected motion. The point is declared in //POS with the ///TOOL, ///POSTYPE and ///PULSE lines it needs and ///NPOS is updated. Only for the robot of ///GROUP1 of the job,
- Point editor... - opens the point editor of the point.
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 throughplugin_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.
| Command | Parameter | Meaning | Default |
|---|---|---|---|
olp_status | frame, 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 / Tool | the current combos |
olp_pose | x, 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 moved | the 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 list | the current combos | |
olp_axes | a1 .. 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 limitWarnings | the current field values |
axes (array) | the same as a1 .. aN as an array (degrees); more values than
axes is an error; aN has priority | - |
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.


