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

▲ Yaskawa viewer (JBI editor)

A job is opened in the Yaskawa viewer (setting Add Yaskawa viewer automatically to *.jbi file). The viewer shows the instructions between NOP and END with syntax highlighting, indentation of IF / WHILE blocks, an icon at every motion line and the line markers of the syntax check. Keyword completion and templates of instructions are available as in the other editors of DReS.

Job header

By default the header of the job (/JOB, //POS with all points, //INST, ///ATTR, ///GROUP ...) is hidden and only the program is shown - the header icon in the first line shows it as a tooltip. The points are edited in the point table and the point editor; the header is rebuilt from them when the job is saved. The header can be shown in the text with Show header text in viewer (context menu or settings).

Tooltips: variables, I/O, macros

Moving the mouse over a word shows what the controller knows about it:
   
Global variable with its name and backup value; macro call with the macro job and its arguments.
The same names are shown in the long-text column on the right side of the viewer. Go to (context menu, or Ctrl+click) opens the called job - for a macro the macro job from MACRO.DAT.

Double-click and context menu

The context menu contains, besides the usual editing functions: Go to job / macro, Edit motion instruction..., Edit point C..... for every point of the line (or Point editor... on other lines), Show header text in viewer, Check full syntax and Viewer settings.

Yaskawa menu

▲ Point table

Under the viewer the point table lists all points of the //POS section of the job.
ColumnMeaning
NameC (robot), BC (base axis), EC (station), P / BP / EX (position variables)
Groupcontrol group of the point taken from the instruction that uses it (///GROUP1 ... with +MOVJ parts)
TypePULSE or RECTAN (BASE / ROBOT / USER / TOOL)
Tooltool of the point (///TOOL)
S, L, U, R, B, T ...values as in the file - pulses, or X, Y, Z, Rx, Ry, Rz for RECTAN
Context menu of the table:
Jump to C.....first instruction that uses the point
Edit motion instruction of C.....opens the motion instruction editor for that line
Point editor C.....opens the point editor
Copy C..... coordinatescopies C00002=-97993,1990,... to the clipboard
Assign coordinatesassigns the coordinates copied before to the selected point
Copy selected coordinates as plain texttable of the selected points (e.g. for Excel)
Set equal <axis> value for selected pointsone value of the column for all selected points
Axis difference [pulse]differences of two selected points axis by axis
Cartesian distancedistance of two RECTAN points (same frame and tool)
Select all

▲ Motion instruction editor

A double-click on the instruction of a motion line opens the editor of this line.

▲ Syntax check

Every line of the job is checked with the INFORM parser (ANTLR4) built according to the official documentation DX200 Options - Instructions for INFORM language (part number 165301-1CD), and the points are checked against the //POS section:
VJ=120.00 exceeds the allowed range 0.01 .. 100.
The result is shown by markers in the margin of the line numbers (tooltip with the message) and, for a full check, in the list of messages:
WhenSettingDefault
on demand - Check syntax F6, context menu Check full syntax-
when a job is openedCheck programm syntax on loadoff
before a job is savedCheck programm syntax on file saveon
while typing (after a short pause), markers only, no dialogCheck programm syntax on flow during editingoff
To check many jobs at once use the ANTLR Validator plugin.

▲ Saving a job

Ctrl+S writes the job in the format of the controller:


Basics | Viewer | Point editor | Robot 3D View | Settings | Plugins