GeoCOM API

The DMPACK library provides Leica GeoCOM abstraction layers for Fortran and Lua, to write distinct programs for TPS control or to load evaluable configuration files into dmserial.

Sub-systems of the official GeoCOM API
Acronym Name
AUT Automation
BAP Basic Applications
BMM Basic Man–Machine Interface
COM Communication Settings
CSV Central Services
EDM Electronic Distance Measurement
FTR File Transfer
IMG Image Processing
MOT Motorisation
SUP Supervisor
TMC Theodolite Measurement and Calculation

DMPACK does not follow the Leica GeoCOM API for C/C++ and Visual Basic. Instead, the API is entirely object-oriented, and methods are given more memorable names without any sub-system prefix. Structured types have been removed altogether. Named parameters start with prefix GEOCOM_ and return codes with prefix GRC_. See the source code documentation for an overview of the API.

The following example in Fortran 2018 opens the TTY /dev/ttyUSB0, calls the null procedure of the instrument (COM_NullProc), and then prints return code, associated error message, and last request to standard output:

! geocom.f90
program main
    use :: dmpack
    implicit none (type, external)
    integer            :: rc      ! DMPACK return code.
    type(geocom_class) :: geocom  ! GeoCOM object.
    type(request_type) :: request ! Last request.

    ! Initialise DMPACK.
    call dm_init()

    ! Open connection to instrument, quit on error.
    call geocom%open('/dev/ttyUSB0', GEOCOM_COM_BAUD_115200, verbose=.true., error=rc)
    call dm_error_out(rc, fatal=.true.)

    ! Call remote procedure COM_NullProc and output result.
    call geocom%null()
    print '(i0, ": ", a)', geocom%code(), geocom%message()

    ! Output last request.
    call geocom%last_request(request)
    call dm_request_out(request)

    ! Close connection.
    call geocom%close()
end program main

Make sure that the instrument is configured to 115200 baud. Invalid parameters passed to the GeoCOM methods will be replaced with their default values, and an error message is printed in verbose mode.

If the DMPACK library and module files are installed to /opt, build, link, and run the example program with:

$ gfortran -I/opt/include/dmpack -o geocom geocom.f90 /opt/lib/libdmpack.a -lpcre2-8
$ ./geocom

Enumerators

All GeoCOM named types and enumerators supported by DMPACK start with prefix GEOCOM_.

Name Description
GEOCOM_IOS_BEEP_STDINTENS Standard intensity of beep expressed as
percentage.
GEOCOM_AUT_CLOCKWISE Direction close-wise.
GEOCOM_AUT_ANTICLOCKWISE Direction counter clock-wise.
GEOCOM_AUT_ADJMODE: Fine-adjust position mode
Name Description
GEOCOM_AUT_NORM_MODE Angle tolerance.
GEOCOM_AUT_POINT_MODE Point tolerance.
GEOCOM_AUT_DEFINE_MODE System independent positioning tolerance.
GEOCOM_AUT_ATRMODE: Automatic target recognition mode
Name Description
GEOCOM_AUT_POSITION Positioning to Hz and V angle.
GEOCOM_AUT_TARGET Positioning to a target in the env. of the
Hz and V angle.
GEOCOM_AUT_POSMODE: Position precision
Name Description
GEOCOM_AUT_NORMAL Fast positioning mode.
GEOCOM_AUT_PRECISE Exact positioning mode.
GEOCOM_AUT_FAST For TM30/TS30.
GEOCOM_BAP_ATRSETTING: ATR low-vis mode definition
Name Description
GEOCOM_BAP_ATRSET_NORMAL ATR is using no special flags or modes.
GEOCOM_BAP_ATRSET_LOWVIS_ON ATR low-vis mode on.
GEOCOM_BAP_ATRSET_LOWVIS_AON ATR low-vis mode always on.
GEOCOM_BAP_ATRSET_SRANGE_ON ATR high-reflectivity mode on.
GEOCOM_BAP_ATRSET_SRANGE_AON ATR high-reflectivity mode always on.
GEOCOM_BAP_MEASURE_PRG: Measurement modes
Name Description
GEOCOM_BAP_NO_MEAS No measurements, take last one.
GEOCOM_BAP_NO_DIST No distance measurement, angles only.
GEOCOM_BAP_DEF_DIST Default distance measurements.
GEOCOM_BAP_CLEAR_DIST Clear distances.
GEOCOM_BAP_STOP_TRK Stop tracking.
GEOCOM_BAP_PRISMTYPE: Prism type definition
Name Description
GEOCOM_BAP_PRISM_ROUND Leica Circular Prism.
GEOCOM_BAP_PRISM_MINI Leica Mini Prism.
GEOCOM_BAP_PRISM_TAPE Leica Reflector Tape.
GEOCOM_BAP_PRISM_360 Leica 360° Prism.
GEOCOM_BAP_PRISM_USER1 Not supported by TPS1200.
GEOCOM_BAP_PRISM_USER2 Not supported by TPS1200.
GEOCOM_BAP_PRISM_USER3 Not supported by TPS1200.
GEOCOM_BAP_PRISM_360_MINI Leica Mini 360° Prism
GEOCOM_BAP_PRISM_MINI_ZERO Leica Mini Zero Prism.
GEOCOM_BAP_PRISM_USER User-defined Prism.
GEOCOM_BAP_PRISM_NDS_TAPE Leica HDS Target.
GEOCOM_BAP_PRISM_GRZ121_ROUND GRZ121 360º Prism for Machine Guidance.
GEOCOM_BAP_PRISM_MA_MPR122 MPR122 360º Prism for Machine Guidance.
GEOCOM_BAP_REFLTYPE: Reflector type definition
Name Description
GEOCOM_BAP_REFL_UNDEF Reflector not defined.
GEOCOM_BAP_REFL_PRISM Reflector prism.
GEOCOM_BAP_REFL_TAPE Reflector tape.
GEOCOM_BAP_TARGET_TYPE: Target type definition
Name Description
GEOCOM_BAP_REFL_USE With reflector.
GEOCOM_BAP_REFL_LESS Without reflector.
GEOCOM_BAP_USER_MEASPRG: Distance measurement programs
Name Description
GEOCOM_BAP_SINGLE_REF_STANDARD IR standard.
GEOCOM_BAP_SINGLE_REF_FAST IR fast.
GEOCOM_BAP_SINGLE_REF_VISIBLE LO standard.
GEOCOM_BAP_SINGLE_RLESS_VISIBLE RL standard.
GEOCOM_BAP_CONT_REF_STANDARD IR tracking.
GEOCOM_BAP_CONT_REF_FAST Not supported by TPS1200.
GEOCOM_BAP_CONT_RLESS_VISIBLE RL fast tracking.
GEOCOM_BAP_AVG_REF_STANDARD IR average.
GEOCOM_BAP_AVG_REF_VISIBLE LO average.
GEOCOM_BAP_AVG_RLESS_VISIBLE RL average.
GEOCOM_BAP_CONT_REF_SYNCHRO IR synchro-tracking.
GEOCOM_BAP_SINGLE_REF_PRECISE IR precise (TM30/TS30).
GEOCOM_COM_BAUD_RATE: Baud rate
Name Description
GEOCOM_COM_BAUD_2400 2400 baud.
GEOCOM_COM_BAUD_4800 4800 baud.
GEOCOM_COM_BAUD_9600 9600 baud.
GEOCOM_COM_BAUD_19200 19200 baud (default).
GEOCOM_COM_BAUD_38400 38400 baud.
GEOCOM_COM_BAUD_57600 57600 baud.
GEOCOM_COM_BAUD_115200 115200 baud.
GEOCOM_COM_FORMAT: Transmission data format
Name Description
GEOCOM_COM_ASCII ASCII protocol.
GEOCOM_COM_BINARY Binary protocol.
GEOCOM_CSV_POWER_PATH: Power sources
Name Description
GEOCOM_CSV_EXTERNAL_POWER Power source is external.
GEOCOM_CSV_INTERNAL_POWER Power source is the internal battery.
GEOCOM_COM_TPS_STARTUP_MODE: Start mode
Name Description
GEOCOM_COM_STARTUP_LOCAL Not supported by TPS1200.
GEOCOM_COM_STARTUP_REMOTE RPC is enabled (online mode).
GEOCOM_COM_TPS_STOP_MODE: Stop mode
Name Description
GEOCOM_COM_STOP_SHUT_DOWN Power down instrument.
GEOCOM_COM_STOP_SLEEP Not supported by TPS1200.
GEOCOM_EDM_EGLINTENSITY_TYPE: Intensity of Electronic Guidelight (EGL)
Name Description
GEOCOM_EDM_EGLINTEN_OFF Off.
GEOCOM_EDM_EGLINTEN_LOW Low intensity.
GEOCOM_EDM_EGLINTEN_MID Medium intensity.
GEOCOM_EDM_EGLINTEN_HIGH High intensity.
GEOCOM_EDM_MODE: EDM measurement mode
Name Description
GEOCOM_EDM_MODE_NOT_USED Initial value.
GEOCOM_EDM_SINGLE_TAPE IR standard Reflector Tape.
GEOCOM_EDM_SINGLE_STANDARD IR standard.
GEOCOM_EDM_SINGLE_FAST IR fast.
GEOCOM_EDM_SINGLE_LRANGE LO standard.
GEOCOM_EDM_SINGLE_SRANGE RL standard.
GEOCOM_EDM_CONT_STANDARD Standard repeated measurement.
GEOCOM_EDM_CONT_DYNAMIC IR tacking.
GEOCOM_EDM_CONT_REFLESS RL tracking.
GEOCOM_EDM_CONT_FAST Fast repeated measurement.
GEOCOM_EDM_AVERAGE_IR IR average.
GEOCOM_EDM_AVERAGE_SR RL average.
GEOCOM_EDM_AVERAGE_LR LO average.
GEOCOM_EDM_PRECISE_IR IR precise (TM30, TS30).
GEOCOM_EDM_PRECISE_TAPE IR precise Reflector Tape (TM30, TS30).
GEOCOM_FTR_DEVICETYPE: Device type
Name Description
GEOCOM_FTR_DEVICE_INTERNAL Internal memory module.
GEOCOM_FTR_DEVICE_PCPARD External memory card.
GEOCOM_FTR_FILETYPE: File type
Name Description
GEOCOM_FTR_FILE_UNKNOWN Undocumented (0).
GEOCOM_FTR_FILE_IMAGES Extension wildcard: *.jpg.
GEOCOM_IMG_MEM_TYPE: Memory device type
Name Description
GEOCOM_IMG_INTERNAL_MEMORY Internal memory module.
GEOCOM_IMG_PC_CARD External memory card.
GEOCOM_MOT_LOCK_STATUS: Lock conditions
Name Description
GEOCOM_MOT_LOCKED_OUT Locked out.
GEOCOM_MOT_LOCKED_IN Locked in.
GEOCOM_MOT_PREDICTION Prediction mode.
GEOCOM_MOT_MODE: Controller configuration
Name Description
GEOCOM_MOT_POSIT Configured for relative positioning.
GEOCOM_MOT_OCONST Configured for constant speed.
GEOCOM_MOT_MANUPOS Configured for manual positioning (default
setting).
GEOCOM_MOT_LOCK Configured as “Lock-in” controller.
GEOCOM_MOT_BREAK Configured as “Brake” controller.
GEOCOM_MOT_TERM Terminates the controller task.
GEOCOM_MOT_STOPMODE: Controller stop mode
Name Description
GEOCOM_MOT_NORMAL Slow down with current acceleration.
GEOCOM_MOT_SHUTDOWN Slow down by switch off power supply.
GEOCOM_SUP_AUTO_POWER: Automatic shutdown mechanism for the system
Name Description
GEOCOM_SUP_POWER_DISABLED Instrument remains on.
GEOCOM_SUP_POWER_OFF Turns off mechanism.
GEOCOM_TMC_FACE: Actual face
Name Description
GEOCOM_TMC_FACE_1 Position 1 of telescope.
GEOCOM_TMC_FACE_2 Position 2 of telescope.
GEOCOM_TMC_FACE_DEF: Face position
Name Description
GEOCOM_TMC_FACE_NORMAL Face in normal position.
GEOCOM_TMC_FACE_TURN Face turned.
GEOCOM_TMC_INCLINE_PRG: Inclination sensor measurement program
Name Description
GEOCOM_TMC_MEA_INC Use sensor (a priori sigma).
GEOCOM_TMC_AUTO_INC Automatic mode (sensor/plane).
GEOCOM_TMC_PLANE_INC Use plane (a priori sigma).
GEOCOM_TMC_MEASURE_PRG: TMC measurement mode
Name Description
GEOCOM_TMC_STOP Stop measurement program.
GEOCOM_TMC_DEF_DIST Default distance measurement program.
GEOCOM_TMC_CLEAR GEOCOM_TMC_STOP and clear data.
GEOCOM_TMC_SIGNAL Signal measurement (test function).
GEOCOM_TMC_DO_MEASURE (Re-)start measurement task.
GEOCOM_TMC_RTRK_DIST Distance-TRK measurement program.
GEOCOM_TMC_RED_TRK_DIST Reflectorless tracking.
GEOCOM_TMC_FREQUENCY Frequency measurement (test).
GEOCOM_TPS_DEVICE_CLASS: TPS device precision class
Name Description
GEOCOM_TPS_CLASS_1100 TPS1000 family member, 1 mgon, 3 ".
GEOCOM_TPS_CLASS_1700 TPS1000 family member, 0.5 mgon, 1.5 ".
GEOCOM_TPS_CLASS_1800 TPS1000 family member, 0.3 mgon, 1 ".
GEOCOM_TPS_CLASS_5000 TPS2000 family member.
GEOCOM_TPS_CLASS_6000 TPS2000 family member.
GEOCOM_TPS_CLASS_1500 TPS1000 family member.
GEOCOM_TPS_CLASS_2003 TPS2000 family member.
GEOCOM_TPS_CLASS_5005 TPS5000 family member.
GEOCOM_TPS_CLASS_5100 TPS5000 family member.
GEOCOM_TPS_CLASS_1102 TPS1100 family member, 2 ".
GEOCOM_TPS_CLASS_1103 TPS1100 family member, 3 ".
GEOCOM_TPS_CLASS_1105 TPS1100 family member, 5 ".
GEOCOM_TPS_CLASS_1101 TPS1100 family member, 1 ".
GEOCOM_TPS_CLASS_1202 TPS1200 family member, 2 ".
GEOCOM_TPS_CLASS_1203 TPS1200 family member, 3 ".
GEOCOM_TPS_CLASS_1205 TPS1200 family member, 5 ".
GEOCOM_TPS_CLASS_1201 TPS1200 family member, 1 ".
GEOCOM_TPS_CLASS_TX30 TS30, TM30 family member, 0.5 ".
GEOCOM_TPS_CLASS_TX31 TS30, TM30 family member, 1 ".
GEOCOM_TPS_DEVICE_TYPE: TPS device configuration type
Name Description
GEOCOM_TPS_DEVICE_T Theodolite without built-in EDM.
GEOCOM_TPS_DEVICE_MOT Motorised device.
GEOCOM_TPS_DEVICE_ATR Automatic Target Recognition (ATR).
GEOCOM_TPS_DEVICE_EGL Electronic Guide Light (EGL).
GEOCOM_TPS_DEVICE_DB Reserved (database, not GSI).
GEOCOM_TPS_DEVICE_DL Diode laser.
GEOCOM_TPS_DEVICE_LP Laser plumbed.
GEOCOM_TPS_DEVICE_TC1 Tachymeter (TCW1).
GEOCOM_TPS_DEVICE_TC2 Tachymeter (TCW2).
GEOCOM_TPS_DEVICE_TC Tachymeter (TCW3).
GEOCOM_TPS_DEVICE_TCR Tachymeter (TCW3 with red laser).
GEOCOM_TPS_DEVICE_ATC Auto-collimation lamp (used only PMU).
GEOCOM_TPS_DEVICE_LPNT Laser pointer.
GEOCOM_TPS_DEVICE_RL_EXT Reflectorless EDM with extended range
(Pinpoint R100, R300).
GEOCOM_TPS_DEVICE_PS PowerSearch.
GEOCOM_TPS_DEVICE_SIM Runs on simulation, no hardware.
GEOCOM_TPS_REFLESS_CLASS: Reflectorless class
Name Description
GEOCOM_TPS_REFLESS_NONE None.
GEOCOM_TPS_REFLESS_R100 Pinpoint R100.
GEOCOM_TPS_REFLESS_R300 Pinpoint R300.
GEOCOM_TPS_REFLESS_R400 Pinpoint R400.
GEOCOM_TPS_REFLESS_R1000 Pinpoint R1000.

Return Codes

All GeoCOM return codes start with prefix GRC_.

Code Name Description
0 GRC_OK Function successfully completed.
1 GRC_UNDEFINED Unknown error, result unspecified.
2 GRC_IVPARAM Invalid parameter detected. Result unspecified.
3 GRC_IVRESULT Invalid result.
4 GRC_FATAL Fatal error.
5 GRC_NOT_IMPL Not implemented.
6 GRC_TIME_OUT Function execution timed out. Result unspecified.
7 GRC_SET_INCOMPL Parameter setup for subsystem is incomplete.
8 GRC_ABORT Function execution has been aborted.
9 GRC_NOMEMORY Fatal error (not enough memory).
10 GRC_NOTINIT Fatal error (subsystem not initialised).
12 GRC_SHUT_DOWN Subsystem is down.
13 GRC_SYSBUSY System busy/already in use of another process.
14 GRC_HWFAILURE Fatal error (hardware failure).
15 GRC_ABORT_APPL Execution of application has been aborted.
16 GRC_LOW_POWER Operation aborted (insufficient power supply level).
17 GRC_IVVERSION Invalid version of file.
18 GRC_BAT_EMPTY Battery empty, about 1 minute remaining.
20 GRC_NO_EVENT No event pending.
21 GRC_OUT_OF_TEMP Out of temperature range.
22 GRC_INSTRUMENT_TILT Instrument tilting out of range.
23 GRC_COM_SETTING Communication error.
24 GRC_NO_ACTION GRC_TYPE input (do no action)
25 GRC_SLEEP_MODE Instrument went into sleep mode.
26 GRC_NOTOK Function not successfully completed.
27 GRC_NA Not available (licence key not available).
28 GRC_OVERFLOW Overflow error.
29 GRC_STOPPED System or subsystem has been stopped.
256 GRC_ANG ANG error.
257 GRC_ANG_ERROR Angles and inclinations not valid.
258 GRC_ANG_INCL_ERROR Inclinations not valid.
259 GRC_ANG_BAD_ACC Value accuracies not reached.
260 GRC_ANG_BAD_ANGLE_ACC Angle accuracies not reached.
261 GRC_ANG_BAD_INCLIN_ACC Inclination accuracies not reached.
266 GRC_ANG_WRITE_PROTECTED No write access allowed.
267 GRC_ANG_OUT_OF_RANGE Value out of range.
268 GRC_ANG_IR_OCCURED Function aborted due to interrupt.
269 GRC_ANG_HZ_MOVED Hz moved during incline measurement.
270 GRC_ANG_OS_ERROR Troubles with operation system.
271 GRC_ANG_DATA_ERROR Overflow at parameter values.
272 GRC_ANG_PEAK_CNT_UFL Not enough peaks.
273 GRC_ANG_TIME_OUT Reading timeout.
274 GRC_ANG_TOO_MANY_EXPOS Too many exposures wanted.
275 GRC_ANG_PIX_CTRL_ERR Picture height out of range.
276 GRC_ANG_MAX_POS_SKIP Positive exposure dynamic overflow.
277 GRC_ANG_MAX_NEG_SKIP Negative exposure dynamic overflow.
278 GRC_ANG_EXP_LIMIT Exposure time overflow.
279 GRC_ANG_UNDER_EXPOSURE Picture under-exposured.
280 GRC_ANG_OVER_EXPOSURE Picture over-exposured.
300 GRC_ANG_TMANY_PEAKS Too many peaks detected.
301 GRC_ANG_TLESS_PEAKS Not enough peaks detected.
302 GRC_ANG_PEAK_TOO_SLIM Peak too slim.
303 GRC_ANG_PEAK_TOO_WIDE Peak to wide.
304 GRC_ANG_BAD_PEAKDIFF Bad peak difference.
305 GRC_ANG_UNDER_EXP_PICT Too low peak amplitude.
306 GRC_ANG_PEAKS_INHOMOGEN Inhomogeneous peak amplitudes.
307 GRC_ANG_NO_DECOD_POSS No peak decoding possible.
308 GRC_ANG_UNSTABLE_DECOD Peak decoding not stable.
309 GRC_ANG_TLESS_FPEAKS Not enough valid fine-peaks.
316 GRC_ANG_INCL_OLD_PLANE Inclination plane out of time range.
317 GRC_ANG_INCL_NO_PLANE Inclination no plane available.
326 GRC_ANG_FAST_ANG_ERR Errors in 5 kHz and or 2.5 kHz angle.
327 GRC_ANG_FAST_ANG_ERR_5 Errors in 5 kHz angle.
328 GRC_ANG_FAST_ANG_ERR_25 Errors in 2.5 kHz angle.
329 GRC_ANG_TRANS_ERR LVDS transfer error detected.
330 GRC_ANG_TRANS_ERR_5 LVDS transfer error detected in 5 kHz mode.
331 GRC_ANG_TRANS_ERR_25 LVDS transfer error detected in 2.5 kHz mode.
512 GRC_ATA_NOT_READY ATR system is not ready.
513 GRC_ATA_NO_RESULT Result is not available yet.
514 GRC_ATA_SEVERAL_TARGETS Several targets detected.
515 GRC_ATA_BIG_SPOT Spot is too big for analyse.
516 GRC_ATA_BACKGROUND Background is too bright.
517 GRC_ATA_NO_TARGETS No targets detected.
518 GRC_ATA_NOT_ACCURAT Accuracy worse than asked for.
519 GRC_ATA_SPOT_ON_EDGE Spot is on the edge of the sensing area.
522 GRC_ATA_BLOOMING Blooming or spot on edge detected.
523 GRC_ATA_NOT_BUSY ATR is not in a continuous mode.
524 GRC_ATA_STRANGE_LIGHT Not the spot of the own target illuminator.
525 GRC_ATA_V24_FAIL Communication error to sensor (ATR).
526 GRC_ATA_DECODE_ERROR Received Arguments cannot be decoded.
527 GRC_ATA_HZ_FAIL No spot detected in Hz direction.
528 GRC_ATA_V_FAIL No spot detected in V direction.
529 GRC_ATA_HZ_STRANGE_L Strange light in Hz direction.
530 GRC_ATA_V_STRANGE_L Strange light in V direction.
531 GRC_ATA_SLDR_TRANSFER_PENDING On multiple ATA_SLDR_OpenTransfer.
532 GRC_ATA_SLDR_TRANSFER_ILLEGAL No ATA_SLDR_OpenTransfer happened.
533 GRC_ATA_SLDR_DATA_ERROR Unexpected data format received.
534 GRC_ATA_SLDR_CHK_SUM_ERROR Checksum error in transmitted data.
535 GRC_ATA_SLDR_ADDRESS_ERROR Address out of valid range.
536 GRC_ATA_SLDR_INV_LOADFILE Firmware file has invalid format.
537 GRC_ATA_SLDR_UNSUPPORTED Current (loaded) firmware does not support upload.
538 GRC_ATA_PS_NOT_READY PowerSearch system is not ready.
539 GRC_ATA_ATR_SYSTEM_ERR ATR system error.
768 GRC_EDM EDM error.
769 GRC_EDM_SYSTEM_ERR Fatal EDM sensor error.
770 GRC_EDM_INVALID_COMMAND Invalid command or unknown command.
771 GRC_EDM_BOOM_ERR Boomerang error.
772 GRC_EDM_SIGN_LOW_ERR Received signal too low, prism to far away, or natural barrier, bad environment, etc.
773 GRC_EDM_DIL_ERR Obsolete.
774 GRC_EDM_SIGN_HIGH_ERR Received signal to strong, prism to near, strange light effect.
775 GRC_EDM_TIMEOUT Timeout, measuring time exceeded (signal too weak, beam interrupted).
776 GRC_EDM_FLUKT_ERR Too much turbulences or distractions.
777 GRC_EDM_FMOT_ERR Filter motor defective.
778 GRC_EDM_DEV_NOT_INSTALLED Device like EGL, DL is not installed.
779 GRC_EDM_NOT_FOUND Search result invalid.
780 GRC_EDM_ERROR_RECEIVED Communication ok, but an error reported from the EDM sensor.
781 GRC_EDM_MISSING_SRVPWD No service password is set.
782 GRC_EDM_INVALID_ANSWER Communication ok, but an unexpected answer received.
783 GRC_EDM_SEND_ERR Data send error, sending buffer is full.
784 GRC_EDM_RECEIVE_ERR Data receive error, like parity buffer overflow.
785 GRC_EDM_INTERNAL_ERR Internal EDM subsystem error.
786 GRC_EDM_BUSY Sensor is working already, abort current measuring first.
787 GRC_EDM_NO_MEASACTIVITY No measurement activity started.
788 GRC_EDM_CHKSUM_ERR Calculated checksum, resp. received data wrong.
789 GRC_EDM_INIT_OR_STOP_ERR During start up or shut down phase an error occured.
790 GRC_EDM_SRL_NOT_AVAILABLE Red laser not available on this sensor hardware.
791 GRC_EDM_MEAS_ABORTED Measurement will be aborted (will be used for the laser security).
798 GRC_EDM_SLDR_TRANSFER_PENDING Multiple OpenTransfer calls.
799 GRC_EDM_SLDR_TRANSFER_ILLEGAL No open transfer happened.
800 GRC_EDM_SLDR_DATA_ERROR Unexpected data format received.
801 GRC_EDM_SLDR_CHK_SUM_ERROR Checksum error in transmitted data.
802 GRC_EDM_SLDR_ADDR_ERROR Address out of valid range.
803 GRC_EDM_SLDR_INV_LOADFILE Firmware file has invalid format.
804 GRC_EDM_SLDR_UNSUPPORTED Current (loaded) firmware doesn’t support upload.
808 GRC_EDM_UNKNOW_ERR Undocumented error from the EDM sensor, should not occur.
818 GRC_EDM_DISTRANGE_ERR Out of distance range (too small or large).
819 GRC_EDM_SIGNTONOISE_ERR Signal to noise ratio too small.
820 GRC_EDM_NOISEHIGH_ERR Noise too high.
821 GRC_EDM_PWD_NOTSET Password is not set.
822 GRC_EDM_ACTION_NO_MORE_VALID Elapsed time between prepare and start fast measurement for ATR too long.
823 GRC_EDM_MULTRG_ERR Possibly more than one target (also a sensor error).
824 GRC_EDM_MISSING_EE_CONSTS EEPROM constants are missing.
825 GRC_EDM_NOPRECISE No precise measurement possible.
826 GRC_EDM_MEAS_DIST_NOT_ALLOWED Measured distance is too big (not allowed).
1024 GRC_GMF GMF error.
1025 GRC_GMF_WRONG_AREA_DEF Wrong area definition.
1026 GRC_GMF_IDENTICAL_PTS Identical points.
1027 GRC_GMF_PTS_IN_LINE Points on one line
1028 GRC_GMF_OUT_OF_RANGE Out of range.
1029 GRC_GMF_PLAUSIBILITY_ERR Plausibility error.
1030 GRC_GMF_TOO_FEW_OBSERVATIONS Too few observations to calculate the average.
1031 GRC_GMF_NO_SOLUTION No solution.
1032 GRC_GMF_ONE_SOLUTION Only one solution.
1033 GRC_GMF_TWO_SOLUTIONS Second solution.
1034 GRC_GMF_ANGLE_SMALLER_15GON Intersection angle < 15 gon.
1035 GRC_GMF_INVALID_TRIANGLE_TYPE Invalid triangle.
1036 GRC_GMF_INVALID_ANGLE_SYSTEM Invalid angle unit.
1037 GRC_GMF_INVALID_DIST_SYSTEM Invalid distance unit.
1038 GRC_GMF_INVALID_V_SYSTEM Invalid vertical angle.
1039 GRC_GMF_INVALID_TEMP_SYSTEM Invalid temperature system.
1040 GRC_GMF_INVALID_PRES_SYSTEM Invalid pressure unit.
1041 GRC_GMF_RADIUS_NOT_POSSIBLE Invalid radius.
1042 GRC_GMF_NO_PROVISIONAL_VALUES Insufficient data (GM2).
1043 GRC_GMF_SINGULAR_MATRIX Bad data (GM2).
1044 GRC_GMF_TOO_MANY_ITERATIONS Bad data distr (GM2).
1045 GRC_GMF_IDENTICAL_TIE_POINTS Same tie points (GM2).
1046 GRC_GMF_SETUP_EQUALS_TIE_POINT Station and tie point same (GM2).
1280 GRC_TMC TMC error.
1283 GRC_TMC_NO_FULL_CORRECTION Measurement without full correction.
1284 GRC_TMC_ACCURACY_GUARANTEE Accuracy can not be guaranteed.
1285 GRC_TMC_ANGLE_OK Only angle measurement valid.
1288 GRC_TMC_ANGLE_NOT_FULL_CORR Only angle measurement valid but without full correction.
1289 GRC_TMC_ANGLE_NO_ACC_GUARANTY Only angle measurement valid but accuracy can not be guaranteed.
1290 GRC_TMC_ANGLE_ERROR No angle measurement.
1291 GRC_TMC_DIST_PPM Wrong setting of PPM or MM on EDM.
1292 GRC_TMC_DIST_ERROR Distance measurement not done (no aim).
1293 GRC_TMC_BUSY System is busy (no measurement done).
1294 GRC_TMC_SIGNAL_ERROR No signal on EDM (only in signal mode).
1792 GRC_MOT_UNREADY Motorisation is not ready.
1793 GRC_MOT_BUSY Motorisation is handling another task.
1794 GRC_MOT_NOT_OCONST Motorisation is not in velocity mode.
1795 GRC_MOT_NOT_CONFIG Motorisation is in the wrong mode or busy.
1796 GRC_MOT_NOT_POSIT Motorisation is not in posit mode.
1797 GRC_MOT_NOT_SERVICE Motorisation is not in service mode.
1798 GRC_MOT_NOT_BUSY Motorisation is handling no task.
1799 GRC_MOT_NOT_LOCK Motorisation is not in tracking mode.
1800 GRC_MOT_NOT_SPIRAL Motorisation is not in spiral mode.
1801 GRC_MOT_V_ENCODER Vertical encoder/motor error.
1802 GRC_MOT_HZ_ENCODER Horizontal encoder/motor error.
1803 GRC_MOT_HZ_V_ENCODER Horizontal and vertical encoder/motor error.
2304 GRC_BMM BMM error.
2305 GRC_BMM_XFER_PENDING Loading process already opened.
2306 GRC_BMM_NO_XFER_OPEN Transfer not opened.
2307 GRC_BMM_UNKNOWN_CHARSET Unknown character set.
2308 GRC_BMM_NOT_INSTALLED Display module not present.
2309 GRC_BMM_ALREADY_EXIST Character set already exists.
2310 GRC_BMM_CANT_DELETE Character set cannot be deleted.
2311 GRC_BMM_MEM_ERROR Memory cannot be allocated.
2312 GRC_BMM_CHARSET_USED Character set still used.
2313 GRC_BMM_CHARSET_SAVED Charset cannot be deleted or is protected.
2314 GRC_BMM_INVALID_ADR Attempt to copy a character block outside the allocated memory.
2315 GRC_BMM_CANCELANDADR_ERROR Error during release of allocated memory.
2316 GRC_BMM_INVALID_SIZE Number of bytes specified in header does not match the bytes read.
2317 GRC_BMM_CANCELANDINVSIZE_ERROR Allocated memory could not be released.
2318 GRC_BMM_ALL_GROUP_OCC Max. number of character sets already loaded.
2319 GRC_BMM_CANT_DEL_LAYERS Layer cannot be deleted.
2320 GRC_BMM_UNKNOWN_LAYER Required layer does not exist.
2321 GRC_BMM_INVALID_LAYERLEN Layer length exceeds maximum.
3072 GRC_COM_ERO Initiate Extended Runtime Operation (ERO).
3073 GRC_COM_CANT_ENCODE Cannot encode arguments in client.
3074 GRC_COM_CANT_DECODE Cannot decode results in client.
3075 GRC_COM_CANT_SEND Hardware error while sending.
3076 GRC_COM_CANT_RECV Hardware error while receiving.
3077 GRC_COM_TIMEDOUT Request timed out.
3078 GRC_COM_WRONG_FORMAT Packet format error.
3079 GRC_COM_VER_MISMATCH Version mismatch between client and server.
3080 GRC_COM_CANT_DECODE_REQ Cannot decode arguments in server.
3081 GRC_COM_PROC_UNAVAIL Unknown RPC, procedure ID invalid.
3082 GRC_COM_CANT_ENCODE_REP Cannot encode results in server.
3083 GRC_COM_SYSTEM_ERR Unspecified generic system error.
3085 GRC_COM_FAILED Unspecified error.
3086 GRC_COM_NO_BINARY Binary protocol not available.
3087 GRC_COM_INTR Call interrupted.
3090 GRC_COM_REQUIRES_8DBITS Protocol needs 8 bit encoded characters.
3093 GRC_COM_TR_ID_MISMATCH TRANSACTIONS ID mismatch error.
3094 GRC_COM_NOT_GEOCOM Protocol not recognisable.
3095 GRC_COM_UNKNOWN_PORT Invalid port address.
3099 GRC_COM_ERO_END ERO is terminating.
3100 GRC_COM_OVERRUN Internal error (data buffer overflow).
3101 GRC_COM_SRVR_RX_CHECKSUM_ERRR Invalid checksum on server side received.
3102 GRC_COM_CLNT_RX_CHECKSUM_ERRR Invalid checksum on client side received.
3103 GRC_COM_PORT_NOT_AVAILABLE Port not available.
3104 GRC_COM_PORT_NOT_OPEN Port not opened.
3105 GRC_COM_NO_PARTNER Unable to find TPS.
3106 GRC_COM_ERO_NOT_STARTED Extended Runtime Operation could not be started.
3107 GRC_COM_CONS_REQ Att to send cons reqs.
3108 GRC_COM_SRVR_IS_SLEEPING TPS has gone to sleep (wait and try again).
3109 GRC_COM_SRVR_IS_OFF TPS has shut down (wait and try again).
3110 GRC_COM_NO_CHECKSUM No checksum in ASCII protocol available.
8704 GRC_AUT_TIMEOUT Position not reached.
8705 GRC_AUT_DETENT_ERROR Positioning not possible due to mounted EDM.
8706 GRC_AUT_ANGLE_ERROR Angle measurement error.
8707 GRC_AUT_MOTOR_ERROR Motorisation error.
8708 GRC_AUT_INCACC Position not exactly reached.
8709 GRC_AUT_DEV_ERROR Deviation measurement error.
8710 GRC_AUT_NO_TARGET No target detected.
8711 GRC_AUT_MULTIPLE_TARGETS Multiple targets detected.
8712 GRC_AUT_BAD_ENVIRONMENT Bad environment conditions.
8713 GRC_AUT_DETECTOR_ERROR Error in target acquisition.
8714 GRC_AUT_NOT_ENABLED Target acquisition not enabled.
8715 GRC_AUT_CALACC ATR calibration failed.
8716 GRC_AUT_ACCURACY Target position not exactly reached.
8717 GRC_AUT_DIST_STARTED Distance measurement has been started.
8718 GRC_AUT_SUPPLY_TOO_HIGH External supply voltage is too high.
8719 GRC_AUT_SUPPLY_TOO_LOW Internal or external supply voltage is too low.
8720 GRC_AUT_NO_WORKING_AREA Working area not set.
8721 GRC_AUT_ARRAY_FULL Power search data array is filled.
8722 GRC_AUT_NO_DATA No data available.
12544 GRC_KDM_NOT_AVAILABLE KDM device is not available.
13056 GRC_FTR_FILEACCESS File access error.
13057 GRC_FTR_WRONGFILEBLOCKNUMBER Block number was not the expected one.
13058 GRC_FTR_NOTENOUGHSPACE Not enough space on device to proceed uploading.
13059 GRC_FTR_INVALIDINPUT Rename of file failed.
13060 GRC_FTR_MISSINGSETUP Invalid parameter as input.