Axis limit usage report
The report shows for every point of the robot programs how close each robot axis comes to its software limit. Points with an axis near the limit are a risk for the commissioning and for later changes (no reserve for a correction, a different configuration, a tool change). The report works for VKRC, KRC, Fanuc, ABB and Yaskawa robots, for one program, all open programs, whole robot archives of the project tree and folders with archives on the disk.

Where: License: the basic license of the robot (the same license which allows saving its programs).

Usage of an axis

  middle = (lower limit + upper limit) / 2
  half   = (upper limit - lower limit) / 2
  usage  = |axis value - middle| / half * 100 %

Wrist singularity on the path of LIN / CIRC motions

A Cartesian motion can pass the wrist singularity between two points which are both far from it (for example axis 5 from +20° at the start to -20° at the target). The point check does not see this, so every Cartesian motion (VKRC LIN / KLIN / SLIN / CIRC / KCIR / SCIR, KRC LIN / CIRC / SLIN / SCIRC, Fanuc L / C, ABB MoveL / MoveC and the other linear / circular instructions, Yaskawa MOVL / MOVC) is also checked along its path: Result per motion:
KindMeaning
NONEaxis 5 outside of the zone (|axis 5| ≥ angle) all the way - not shown
CROSSINGstart and target outside of the zone, the path passes it or axis 5 changes its sign
TARGET_IN_ZONEthe target is in the zone
START_IN_ZONEthe motion starts in the zone and leaves it
TRAPPEDstart and target are both in the zone
AXIS_FLIPaxis 4 or 6 jumps by more than 45° between two neighbouring samples - the wrist turns over (the nearest solution chooses the nearer of the two wrist configurations, so a jump is at most about 90°; more than 45° on a few millimetres is already a flip)
UNREACHABLEa sample of the path is outside of the work space or of the software limits
NOT_EVALUATEDdata for a correct calculation missing (see below) - the reason is given, nothing is calculated without the data
The text gives where the zone starts and ends on the path (mm from the start and %), the smallest |axis 5| and its place, the largest jump of axis 4 / 6 and a suggestion: a PTP motion for this segment, another orientation of the start / target point, or splitting the motion at the given place. A motion checked on its path is not reported again by the point check of its target. Not evaluated (one note per program and reason): the first motion of a program (no start point), spline motions (Yaskawa MOVS / SMOVL / SMOVC), a robot on a linear unit, an unsupported mounting, a base with an external TCP, a stationary tool (ABB), robots with less than 6 axes, missing tool / base data, start point without axis values.

Example: a test program with one LIN motion of every kind. The motion XP1 → XP2 goes from axis 5 = +20° to -20° - both points are far from the singularity, the path passes it in the middle (0.31° at 99 mm of 198 mm); the point check alone does not report it. XP7 → XP8 starts and ends at 10°, but axis 4 turns by 71° on a few millimetres in the middle of the path.

Axis limit usage - wrist singularity on the path

What is checked by default

Options to extend the report

OptionField in the windowAPI parameterDefault
KUKA system files in archives / foldersInclude system filesincludeSystemoff
wrist singularity also for PTP / joint movesinclude PTP / joint moveswristIncludePtpoff
every point with all axes, values and limitsShow all pointsshowAlloff
warning threshold [%]Thresholdthreshold (+ remember)90 (program setting)
wrist singularity angle [°], 0 = offWrist singularity belowwrist (+ remember)5
wrist singularity on the path of LIN / CIRC motionsCheck the path of LIN / CIRC motionswristPath (+ remember)on
distance of the samples on the path [mm], 0.5 .. 100Sample steppathStepMm (+ remember)5
file masks of archives / foldersFile masksmasksprograms of the robot
scope: open programs, programs, robot projects, archives / foldersCheck (list)open, files, projects, folders (or scope + paths)active program (API)
only one controller typemenu of the robotvendorall
result file: PDF, HTML, XLSX, CSVResultformat + savetable only

VW User version

The header gives the VW User of every VKRC and Fanuc robot (also the column VW User of XLSX / CSV and vwUser of the API), the same way the editor reads it - nothing is guessed: What the report shows (default): only the warnings - points with an axis at or above the threshold, and in the row only these axes (e.g. A4 96.0 %, A6 92.1 %), points near the wrist singularity - and the points without a result (one line per program and reason, with the list of the points). Values below the threshold are not shown. The header gives the numbers: programs and points checked, warnings, points below the threshold (not shown), points without a result, and the programs without warnings by name only. Show all points (off by default) lists every point with all axes, values and limits - for example for XLSX / CSV. A note of a point (e.g. not reachable with this S/T within the software limits) is a second line Note: ... under the point (in the window a child line); in XLSX / CSV it is the column Note.

Axis values and software limits

RobotAxis values of a pointSoftware limits
VKRCinverse kinematics with the configuration S / T of the point$machine.dat: $SOFTN_END / $SOFTP_END
KRCE6AXIS / AXIS - from the program, E6POS / POS - inverse kinematics with S / T$machine.dat: $SOFTN_END / $SOFTP_END
FanucJ[] - from the program, P[] - inverse kinematics with CONFIG (group 1)$MRR_GRP[1].$LOWERLIMS / $UPPERLIMS
ABBjointtarget - from the program, robtarget - inverse kinematics with cfMOC.cfg: -lower_joint_bound / -upper_joint_bound
YaskawaPULSE - from the program, RECTAN - inverse kinematics with RCONFSC.PRM axis range (when found), else the kinematics file of the robot
Only the robot axes are checked (not the external axes). A point which cannot be calculated gets the reason as its note instead of a result - for example a robot configuration which is not loaded, a mounting or a kinematics which is not supported, a point without a solution for its configuration, a point not taught (KUKA axis values 999, Fanuc point without position data), a Fanuc motion to a position register PR[n] (its value is set while the program runs), a Fanuc Cartesian point with UF:F / UT:F (joint points J[] with them are checked). A KUKA robot on the linear unit ERSYS is not supported (the kinematic chain of the unit is not confirmed) - its Cartesian points get this error, the same as in the point table. A point used several times in a program is shown once (its first motion). A Cartesian point which lies outside of a software limit by the inverse kinematics with complete robot data gets the note not reachable with this S/T within the software limits (point probably never taught). Windows of the editor which appear while a program is read (for example Unbalanced ;FOLD / ;ENDFOLD structure) are closed by the report and their text is shown as a note of the program.

Settings window

The menu commands open the settings of the report first; the report starts with Generate report. The last choices are kept. The table is sorted by the usage (largest first) and can be sorted by any column; a double click opens the program at the point; the tooltip of the column of the axes shows all axes with values and limits. Copy copies the table, Save report... saves the last report as PDF, HTML, XLSX or CSV.

Command API

{"cmd":"axis_limits", "open":false, "files":["D:/cell/R1/KRC/R1/UPs/UP42.src"],
 "projects":["K1TUVR215060R01"], "folders":["D:/archives/R03"], "masks":["up*.src"],
 "threshold":90, "wrist":5, "wristIncludePtp":false, "wristPath":true, "pathStepMm":5,
 "includeSystem":false, "remember":false, "showAll":false, "vendor":"VKRC",
 "format":"pdf", "save":"D:/reports/axis_limits.pdf", "maxRows":500, "dialog":false}

Top