A Fanuc backup (
All of above) contains the numeric registers in
NUMREG.VA and the
position registers in
POSREG.VA, both next to
SYSTEM.VA.
The editor reads the number, the comment and the value of every register from these text files. The values are
the values
at the time of the backup – a program changes them while it runs. The files are only read,
never written. Lines of an unknown format are skipped (the number of skipped lines is shown in the window).
[12] = 1.250000 'Offset Z' NUMREG.VA: R[12]
[1,10] = 'Pick 1' POSREG.VA: PR[GP1:10], Cartesian
Group: 1 Config: N U T, 0, 0, 0
X: 1612.322 Y: 146.037 Z: 364.904
W: 145.120 P: -2.864 R: 90.899
EXT1: -1799.991 mm extended axis of the group
[2,1] = '' Group: 2 PR[GP2:1], joint representation
J1 = 10.000 mm
The backup of a program is found as for the other functions of the editor: the folder of
SYSTEM.VA one level above the program (VW archive: programs in the language folder
english /
german) or the folder of the program itself.
UF /
UT are not stored in
POSREG.VA: a motion to
PR[n] uses the user and tool frame that are active in the program.
Move the mouse over a register in a Fanuc program:
- R[n] – the description of the long texts (as before, e.g. from SUMMARY.DG) and
NUMREG.VA: value 'comment'.
- PR[n], PR[GPg:n] – comment, X Y Z W P R, configuration and extended axes of a Cartesian
register or J1..Jn of a joint register. With GPg or a preceding SET GROUP g only that group is
shown, otherwise every group of the register that has data.
- PR[n,i] (e.g. PR[GP1:81,3]=(100)) – the same, the component i (1..6 = X..R or J1..J6)
is shown in bold. A component given as a register (PR[14,R[62]]) is not resolved.
The tooltip works for every Fanuc program of a backup, the robot project does not have to be active. A register
that is not in the file is named in the tooltip.
VFanuc » Registers R / PR... opens the registers of the backup of the current Fanuc program, without a
Fanuc program those of the active Fanuc robot project. The window is not modal – you can keep it open next
to the programs. License: VFanuc.
| Field / column | Default | Meaning |
| Filter | empty | only the registers with this text in the name (R[12], PR[GP1:12],
PR[12]), in the comment or in the value; not case-sensitive. API: filter |
| Only registers in use | on | R: with a comment or a value other than 0; PR: with a comment or
initialized. Off: all registers of the files. API: all (false) |
| Group | All | motion group of the position registers. API: group (0 = all) |
| Tab Numeric registers R[ ] |
| No. | – | number n of R[n] |
| Comment | – | comment of the register |
| Value | – | value in the backup (integer as is, real number with up to 10 digits) |
| Tab Position registers PR[ ] |
| Group, No. | – | group g and number n of PR[GPg:n] |
| Comment | – | comment of the register |
| Type | – | Cartesian, Joint or Uninitialized; (!) = data of the
register not complete in the file (reason in the tooltip) |
| X / J1 .. R / J6 | – | X Y Z [mm] W P R [deg] of a Cartesian register, J1..J6 [deg / mm]
of a joint register; ******** = not set |
| Config | – | configuration of a Cartesian register (flip, up / down, front / back, turns) |
| More axes | – | extended axes (EXTn) and joints from J7 |
| Buttons |
| Reload | – | read the files again (they are read again automatically when they changed) |
| Copy table | – | the rows of the current tab to the clipboard, separated by tabs (for Excel) |
Click a column header to sort.
The same data for the
editor API and the AI agents (also in
editor_read):
| Attribute | Default | Meaning |
| project | config | folder | file | current Fanuc program, else active Fanuc project | the robot:
project of the project tree, SYSTEM.VA, folder with one Fanuc backup or a program of the backup |
| type | all | R, PR or all |
| filter | empty | as the field Filter |
| all | false | true: also registers not in use (as Only registers in use off) |
| group | 0 | only position registers of this group (0 = all) |
| maxItems | 2000 | maximum number of registers in the answer (1..100000), more = truncated |
Answer:
robot,
backup,
numregFile,
posregFile (empty = not in the
backup),
numregTime,
posregTime,
numregCount,
posregCount,
posregGroups,
R [{no, comment, value, number}],
PR [{group, no, comment,
type, x, y, z, w, p, r, config | joints [{value, unit}], ext [{value, unit}], error}] (a value not set = null),
notes.
{"cmd":"fanuc_registers","project":"R01","type":"PR","filter":"Pick"}
{"cmd":"fanuc_registers","folder":"D:/archives/ST010/R02","type":"R","all":true}