dm_geocom_error Module

GeoCOM return codes and return code messages. GeoCOM return codes have the prefix GRC_.

The GeoCOM return codes are compatible to at least the following sensors:

  • Leica TPS1100
  • Leica TPS1200
  • Leica TM30/TS30
  • Leica Viva TS16 (FlexLine)

Obvious spelling errors in the return code descriptions have been corrected. However, some descriptions are rather silly (Heerbrugg English?).


Used by

  • module~~dm_geocom_error~~UsedByGraph module~dm_geocom_error dm_geocom_error module~dm_geocom dm_geocom module~dm_geocom->module~dm_geocom_error module~dm_lua_geocom dm_lua_geocom module~dm_lua_geocom->module~dm_geocom_error module~dmpack dmpack module~dmpack->module~dm_geocom_error module~dmpack->module~dm_geocom module~dmpack->module~dm_lua_geocom proc~dm_config_open dm_config_open proc~dm_config_open->module~dm_lua_geocom proc~luaopen_libdmpack luaopen_libdmpack proc~luaopen_libdmpack->module~dm_lua_geocom

Variables

Type Visibility Attributes Name Initial
integer, public, parameter :: GRC_OK = 0

Function successfully completed.

integer, public, parameter :: GRC_UNDEFINED = 1

Unknown error, result unspecified.

integer, public, parameter :: GRC_IVPARAM = 2

Invalid parameter detected. Result unspecified.

integer, public, parameter :: GRC_IVRESULT = 3

Invalid result.

integer, public, parameter :: GRC_FATAL = 4

Fatal error.

integer, public, parameter :: GRC_NOT_IMPL = 5

Not implemented.

integer, public, parameter :: GRC_TIME_OUT = 6

Function execution timed out. Result unspecified.

integer, public, parameter :: GRC_SET_INCOMPL = 7

Parameter setup for subsystem is incomplete.

integer, public, parameter :: GRC_ABORT = 8

Function execution has been aborted.

integer, public, parameter :: GRC_NOMEMORY = 9

Fatal error (not enough memory).

integer, public, parameter :: GRC_NOTINIT = 10

Fatal error (subsystem not initialised).

integer, public, parameter :: GRC_SHUT_DOWN = 12

Subsystem is down.

integer, public, parameter :: GRC_SYSBUSY = 13

System busy/already in use of another process.

integer, public, parameter :: GRC_HWFAILURE = 14

Fatal error (hardware failure).

integer, public, parameter :: GRC_ABORT_APPL = 15

Execution of application has been aborted.

integer, public, parameter :: GRC_LOW_POWER = 16

Operation aborted (insufficient power supply level).

integer, public, parameter :: GRC_IVVERSION = 17

Invalid version of file.

integer, public, parameter :: GRC_BAT_EMPTY = 18

Battery empty, about 1 minute remaining.

integer, public, parameter :: GRC_NO_EVENT = 20

No event pending.

integer, public, parameter :: GRC_OUT_OF_TEMP = 21

Out of temperature range.

integer, public, parameter :: GRC_INSTRUMENT_TILT = 22

Instrument tilting out of range.

integer, public, parameter :: GRC_COM_SETTING = 23

Communication error.

integer, public, parameter :: GRC_NO_ACTION = 24

GRC_TYPE Input (do no action)

integer, public, parameter :: GRC_SLEEP_MODE = 25

Instrument went into sleep mode.

integer, public, parameter :: GRC_NOTOK = 26

Function not successfully completed.

integer, public, parameter :: GRC_NA = 27

Not available (licence key not available).

integer, public, parameter :: GRC_OVERFLOW = 28

Overflow error.

integer, public, parameter :: GRC_STOPPED = 29

System or subsystem has been stopped.

integer, public, parameter :: GRC_ANG = 256

ANG error.

integer, public, parameter :: GRC_ANG_ERROR = 257

Angles and inclinations not valid.

integer, public, parameter :: GRC_ANG_INCL_ERROR = 258

Inclinations not valid.

integer, public, parameter :: GRC_ANG_BAD_ACC = 259

Value accuracies not reached.

integer, public, parameter :: GRC_ANG_BAD_ANGLE_ACC = 260

Angle accuracies not reached.

integer, public, parameter :: GRC_ANG_BAD_INCLIN_ACC = 261

Inclination accuracies not reached.

integer, public, parameter :: GRC_ANG_WRITE_PROTECTED = 266

No write access allowed.

integer, public, parameter :: GRC_ANG_OUT_OF_RANGE = 267

Value out of range.

integer, public, parameter :: GRC_ANG_IR_OCCURED = 268

Function aborted due to interrupt.

integer, public, parameter :: GRC_ANG_HZ_MOVED = 269

Hz moved during incline measurement.

integer, public, parameter :: GRC_ANG_OS_ERROR = 270

Troubles with operation system.

integer, public, parameter :: GRC_ANG_DATA_ERROR = 271

Overflow at parameter values.

integer, public, parameter :: GRC_ANG_PEAK_CNT_UFL = 272

Not enough peaks.

integer, public, parameter :: GRC_ANG_TIME_OUT = 273

Reading timeout.

integer, public, parameter :: GRC_ANG_TOO_MANY_EXPOS = 274

Too many exposures wanted.

integer, public, parameter :: GRC_ANG_PIX_CTRL_ERR = 275

Picture height out of range.

integer, public, parameter :: GRC_ANG_MAX_POS_SKIP = 276

Positive exposure dynamic overflow.

integer, public, parameter :: GRC_ANG_MAX_NEG_SKIP = 277

Negative exposure dynamic overflow.

integer, public, parameter :: GRC_ANG_EXP_LIMIT = 278

Exposure time overflow.

integer, public, parameter :: GRC_ANG_UNDER_EXPOSURE = 279

Picture under-exposured.

integer, public, parameter :: GRC_ANG_OVER_EXPOSURE = 280

Picture over-exposured.

integer, public, parameter :: GRC_ANG_TMANY_PEAKS = 300

Too many peaks detected.

integer, public, parameter :: GRC_ANG_TLESS_PEAKS = 301

Not enough peaks detected.

integer, public, parameter :: GRC_ANG_PEAK_TOO_SLIM = 302

Peak too slim.

integer, public, parameter :: GRC_ANG_PEAK_TOO_WIDE = 303

Peak to wide.

integer, public, parameter :: GRC_ANG_BAD_PEAKDIFF = 304

Bad peak difference.

integer, public, parameter :: GRC_ANG_UNDER_EXP_PICT = 305

Too low peak amplitude.

integer, public, parameter :: GRC_ANG_PEAKS_INHOMOGEN = 306

Inhomogeneous peak amplitudes.

integer, public, parameter :: GRC_ANG_NO_DECOD_POSS = 307

No peak decoding possible.

integer, public, parameter :: GRC_ANG_UNSTABLE_DECOD = 308

Peak decoding not stable.

integer, public, parameter :: GRC_ANG_TLESS_FPEAKS = 309

Not enough valid fine-peaks.

integer, public, parameter :: GRC_ANG_INCL_OLD_PLANE = 316

Inclination plane out of time range.

integer, public, parameter :: GRC_ANG_INCL_NO_PLANE = 317

Inclination no plane available.

integer, public, parameter :: GRC_ANG_FAST_ANG_ERR = 326

Errors in 5 kHz and or 2.5 kHz angle.

integer, public, parameter :: GRC_ANG_FAST_ANG_ERR_5 = 327

Errors in 5 kHz angle.

integer, public, parameter :: GRC_ANG_FAST_ANG_ERR_25 = 328

Errors in 2.5 kHz angle.

integer, public, parameter :: GRC_ANG_TRANS_ERR = 329

LVDS transfer error detected.

integer, public, parameter :: GRC_ANG_TRANS_ERR_5 = 330

LVDS transfer error detected in 5 kHz mode.

integer, public, parameter :: GRC_ANG_TRANS_ERR_25 = 331

LVDS transfer error detected in 2.5 kHz mode.

integer, public, parameter :: GRC_ATA_NOT_READY = 512

ATR system is not ready.

integer, public, parameter :: GRC_ATA_NO_RESULT = 513

Result is not available yet.

integer, public, parameter :: GRC_ATA_SEVERAL_TARGETS = 514

Several targets detected.

integer, public, parameter :: GRC_ATA_BIG_SPOT = 515

Spot is too big for analyse.

integer, public, parameter :: GRC_ATA_BACKGROUND = 516

Background is too bright.

integer, public, parameter :: GRC_ATA_NO_TARGETS = 517

No targets detected.

integer, public, parameter :: GRC_ATA_NOT_ACCURAT = 518

Accuracy worse than asked for.

integer, public, parameter :: GRC_ATA_SPOT_ON_EDGE = 519

Spot is on the edge of the sensing area.

integer, public, parameter :: GRC_ATA_BLOOMING = 522

Blooming or spot on edge detected.

integer, public, parameter :: GRC_ATA_NOT_BUSY = 523

ATR is not in a continuous mode.

integer, public, parameter :: GRC_ATA_STRANGE_LIGHT = 524

Not the spot of the own target illuminator.

integer, public, parameter :: GRC_ATA_V24_FAIL = 525

Communication error to sensor (ATR).

integer, public, parameter :: GRC_ATA_DECODE_ERROR = 526

Received Arguments cannot be decoded.

integer, public, parameter :: GRC_ATA_HZ_FAIL = 527

No spot detected in Hz direction.

integer, public, parameter :: GRC_ATA_V_FAIL = 528

No spot detected in V direction.

integer, public, parameter :: GRC_ATA_HZ_STRANGE_L = 529

Strange light in Hz direction.

integer, public, parameter :: GRC_ATA_V_STRANGE_L = 530

Strange light in V direction.

integer, public, parameter :: GRC_ATA_SLDR_TRANSFER_PENDING = 531

On multiple ATA_SLDR_OpenTransfer.

integer, public, parameter :: GRC_ATA_SLDR_TRANSFER_ILLEGAL = 532

No ATA_SLDR_OpenTransfer happened.

integer, public, parameter :: GRC_ATA_SLDR_DATA_ERROR = 533

Unexpected data format received.

integer, public, parameter :: GRC_ATA_SLDR_CHK_SUM_ERROR = 534

Checksum error in transmitted data.

integer, public, parameter :: GRC_ATA_SLDR_ADDRESS_ERROR = 535

Address out of valid range.

integer, public, parameter :: GRC_ATA_SLDR_INV_LOADFILE = 536

Firmware file has invalid format.

integer, public, parameter :: GRC_ATA_SLDR_UNSUPPORTED = 537

Current (loaded) firmware does not support upload.

integer, public, parameter :: GRC_ATA_PS_NOT_READY = 538

PowerSearch system is not ready.

integer, public, parameter :: GRC_ATA_ATR_SYSTEM_ERR = 539

ATR system error.

integer, public, parameter :: GRC_EDM = 768

EDM error.

integer, public, parameter :: GRC_EDM_SYSTEM_ERR = 769

Fatal EDM sensor error.

integer, public, parameter :: GRC_EDM_INVALID_COMMAND = 770

Invalid command or unknown command.

integer, public, parameter :: GRC_EDM_BOOM_ERR = 771

Boomerang error.

integer, public, parameter :: GRC_EDM_SIGN_LOW_ERR = 772

Received signal too low, prism too far away, or natural barrier, bad environment, etc.

integer, public, parameter :: GRC_EDM_DIL_ERR = 773

Obsolete.

integer, public, parameter :: GRC_EDM_SIGN_HIGH_ERR = 774

Received signal to strong, prism to near, strange light effect.

integer, public, parameter :: GRC_EDM_TIMEOUT = 775

Timeout, measuring time exceeded (signal too weak, beam interrupted).

integer, public, parameter :: GRC_EDM_FLUKT_ERR = 776

Too much turbulences or distractions.

integer, public, parameter :: GRC_EDM_FMOT_ERR = 777

Filter motor defective.

integer, public, parameter :: GRC_EDM_DEV_NOT_INSTALLED = 778

Device like EGL, DL is not installed.

integer, public, parameter :: GRC_EDM_NOT_FOUND = 779

Search result invalid.

integer, public, parameter :: GRC_EDM_ERROR_RECEIVED = 780

Communication ok, but an error reported from the EDM sensor.

integer, public, parameter :: GRC_EDM_MISSING_SRVPWD = 781

No service password is set.

integer, public, parameter :: GRC_EDM_INVALID_ANSWER = 782

Communication ok, but an unexpected answer received.

integer, public, parameter :: GRC_EDM_SEND_ERR = 783

Data send error, sending buffer is full.

integer, public, parameter :: GRC_EDM_RECEIVE_ERR = 784

Data receive error, like parity buffer overflow.

integer, public, parameter :: GRC_EDM_INTERNAL_ERR = 785

Internal EDM subsystem error.

integer, public, parameter :: GRC_EDM_BUSY = 786

Sensor is working already, abort current measuring first.

integer, public, parameter :: GRC_EDM_NO_MEASACTIVITY = 787

No measurement activity started.

integer, public, parameter :: GRC_EDM_CHKSUM_ERR = 788

Calculated checksum, resp. received data wrong.

integer, public, parameter :: GRC_EDM_INIT_OR_STOP_ERR = 789

During start up or shut down phase an error occured.

integer, public, parameter :: GRC_EDM_SRL_NOT_AVAILABLE = 790

Red laser not available on this sensor HW.

integer, public, parameter :: GRC_EDM_MEAS_ABORTED = 791

Measurement will be aborted (will be used for the laser security).

integer, public, parameter :: GRC_EDM_SLDR_TRANSFER_PENDING = 798

Multiple OpenTransfer calls.

integer, public, parameter :: GRC_EDM_SLDR_TRANSFER_ILLEGAL = 799

No open transfer happened.

integer, public, parameter :: GRC_EDM_SLDR_DATA_ERROR = 800

Unexpected data format received.

integer, public, parameter :: GRC_EDM_SLDR_CHK_SUM_ERROR = 801

Checksum error in transmitted data.

integer, public, parameter :: GRC_EDM_SLDR_ADDR_ERROR = 802

Address out of valid range.

integer, public, parameter :: GRC_EDM_SLDR_INV_LOADFILE = 803

Firmware file has invalid format.

integer, public, parameter :: GRC_EDM_SLDR_UNSUPPORTED = 804

Current (loaded) firmware doesn't support upload.

integer, public, parameter :: GRC_EDM_UNKNOW_ERR = 808

Undocumented error from the EDM sensor, should not occur.

integer, public, parameter :: GRC_EDM_DISTRANGE_ERR = 818

Out of distance range (too small or large).

integer, public, parameter :: GRC_EDM_SIGNTONOISE_ERR = 819

Signal to noise ratio too small.

integer, public, parameter :: GRC_EDM_NOISEHIGH_ERR = 820

Noise too high.

integer, public, parameter :: GRC_EDM_PWD_NOTSET = 821

Password is not set.

integer, public, parameter :: GRC_EDM_ACTION_NO_MORE_VALID = 822

Elapsed time between prepare and start fast measurement for ATR too long.

integer, public, parameter :: GRC_EDM_MULTRG_ERR = 823

Possibly more than one target (also a sensor error).

integer, public, parameter :: GRC_EDM_MISSING_EE_CONSTS = 824

EEPROM constantss are missing.

integer, public, parameter :: GRC_EDM_NOPRECISE = 825

No precise measurement possible.

integer, public, parameter :: GRC_EDM_MEAS_DIST_NOT_ALLOWED = 826

Measured distance is too big (not allowed).

integer, public, parameter :: GRC_GMF = 1024

GMF error.

integer, public, parameter :: GRC_GMF_WRONG_AREA_DEF = 1025

Wrong area definition.

integer, public, parameter :: GRC_GMF_IDENTICAL_PTS = 1026

Identical points.

integer, public, parameter :: GRC_GMF_PTS_IN_LINE = 1027

Points on one line

integer, public, parameter :: GRC_GMF_OUT_OF_RANGE = 1028

Out of range.

integer, public, parameter :: GRC_GMF_PLAUSIBILITY_ERR = 1029

Plausibility error.

integer, public, parameter :: GRC_GMF_TOO_FEW_OBSERVATIONS = 1030

Too few observations to calculate the average.

integer, public, parameter :: GRC_GMF_NO_SOLUTION = 1031

No solution.

integer, public, parameter :: GRC_GMF_ONE_SOLUTION = 1032

Only one solution.

integer, public, parameter :: GRC_GMF_TWO_SOLUTIONS = 1033

Second solution.

integer, public, parameter :: GRC_GMF_ANGLE_SMALLER_15GON = 1034

Intersection angle < 15 gon.

integer, public, parameter :: GRC_GMF_INVALID_TRIANGLE_TYPE = 1035

Invalid triangle.

integer, public, parameter :: GRC_GMF_INVALID_ANGLE_SYSTEM = 1036

Invalid angle unit.

integer, public, parameter :: GRC_GMF_INVALID_DIST_SYSTEM = 1037

Invalid distance unit.

integer, public, parameter :: GRC_GMF_INVALID_V_SYSTEM = 1038

Invalid vertical angle.

integer, public, parameter :: GRC_GMF_INVALID_TEMP_SYSTEM = 1039

Invalid temperature system.

integer, public, parameter :: GRC_GMF_INVALID_PRES_SYSTEM = 1040

Invalid pressure unit.

integer, public, parameter :: GRC_GMF_RADIUS_NOT_POSSIBLE = 1041

Invalid radius.

integer, public, parameter :: GRC_GMF_NO_PROVISIONAL_VALUES = 1042

Insufficient data (GM2).

integer, public, parameter :: GRC_GMF_SINGULAR_MATRIX = 1043

Bad data (GM2).

integer, public, parameter :: GRC_GMF_TOO_MANY_ITERATIONS = 1044

Bad data distr (GM2).

integer, public, parameter :: GRC_GMF_IDENTICAL_TIE_POINTS = 1045

Same tie points (GM2).

integer, public, parameter :: GRC_GMF_SETUP_EQUALS_TIE_POINT = 1046

Station and tie point same (GM2).

integer, public, parameter :: GRC_TMC = 1280

TMC error.

integer, public, parameter :: GRC_TMC_NO_FULL_CORRECTION = 1283

Measurement without full correction.

integer, public, parameter :: GRC_TMC_ACCURACY_GUARANTEE = 1284

Accuracy can not be guaranteed.

integer, public, parameter :: GRC_TMC_ANGLE_OK = 1285

Only angle measurement valid.

integer, public, parameter :: GRC_TMC_ANGLE_NOT_FULL_CORR = 1288

Only angle measurement valid but without full correction.

integer, public, parameter :: GRC_TMC_ANGLE_NO_ACC_GUARANTY = 1289

Only angle measurement valid but accuracy can not be guaranteed.

integer, public, parameter :: GRC_TMC_ANGLE_ERROR = 1290

No angle measurement.

integer, public, parameter :: GRC_TMC_DIST_PPM = 1291

Wrong setting of PPM or MM on EDM.

integer, public, parameter :: GRC_TMC_DIST_ERROR = 1292

Distance measurement not done (no aim).

integer, public, parameter :: GRC_TMC_BUSY = 1293

System is busy (no measurement done).

integer, public, parameter :: GRC_TMC_SIGNAL_ERROR = 1294

No signal on EDM (only in signal mode).

integer, public, parameter :: GRC_MOT_UNREADY = 1792

Motorisation is not ready.

integer, public, parameter :: GRC_MOT_BUSY = 1793

Motorisation is handling another task.

integer, public, parameter :: GRC_MOT_NOT_OCONST = 1794

Motorisation is not in velocity mode.

integer, public, parameter :: GRC_MOT_NOT_CONFIG = 1795

Motorisation is in the wrong mode or busy.

integer, public, parameter :: GRC_MOT_NOT_POSIT = 1796

Motorisation is not in posit mode.

integer, public, parameter :: GRC_MOT_NOT_SERVICE = 1797

Motorisation is not in service mode.

integer, public, parameter :: GRC_MOT_NOT_BUSY = 1798

Motorisation is handling no task.

integer, public, parameter :: GRC_MOT_NOT_LOCK = 1799

Motorisation is not in tracking mode.

integer, public, parameter :: GRC_MOT_NOT_SPIRAL = 1800

Motorisation is not in spiral mode.

integer, public, parameter :: GRC_MOT_V_ENCODER = 1801

Vertical encoder/motor error.

integer, public, parameter :: GRC_MOT_HZ_ENCODER = 1802

Horizontal encoder/motor error.

integer, public, parameter :: GRC_MOT_HZ_V_ENCODER = 1803

Horizontal and vertical encoder/motor error.

integer, public, parameter :: GRC_BMM = 2304

BMM error.

integer, public, parameter :: GRC_BMM_XFER_PENDING = 2305

Loading process already opened.

integer, public, parameter :: GRC_BMM_NO_XFER_OPEN = 2306

Transfer not opened.

integer, public, parameter :: GRC_BMM_UNKNOWN_CHARSET = 2307

Unknown character set.

integer, public, parameter :: GRC_BMM_NOT_INSTALLED = 2308

Display module not present.

integer, public, parameter :: GRC_BMM_ALREADY_EXIST = 2309

Character set already exists.

integer, public, parameter :: GRC_BMM_CANT_DELETE = 2310

Character set cannot be deleted.

integer, public, parameter :: GRC_BMM_MEM_ERROR = 2311

Memory cannot be allocated.

integer, public, parameter :: GRC_BMM_CHARSET_USED = 2312

Character set still used.

integer, public, parameter :: GRC_BMM_CHARSET_SAVED = 2313

Charset cannot be deleted or is protected.

integer, public, parameter :: GRC_BMM_INVALID_ADR = 2314

Attempt to copy a character block outside the allocated memory.

integer, public, parameter :: GRC_BMM_CANCELANDADR_ERROR = 2315

Error during release of allocated memory.

integer, public, parameter :: GRC_BMM_INVALID_SIZE = 2316

Number of bytes specified in header does not match the bytes read.

integer, public, parameter :: GRC_BMM_CANCELANDINVSIZE_ERROR = 2317

Allocated memory could not be released.

integer, public, parameter :: GRC_BMM_ALL_GROUP_OCC = 2318

Max. number of character sets already loaded.

integer, public, parameter :: GRC_BMM_CANT_DEL_LAYERS = 2319

Layer cannot be deleted.

integer, public, parameter :: GRC_BMM_UNKNOWN_LAYER = 2320

Required layer does not exist.

integer, public, parameter :: GRC_BMM_INVALID_LAYERLEN = 2321

Layer length exceeds maximum.

integer, public, parameter :: GRC_COM_ERO = 3072

Initiate Extended Runtime Operation (ERO).

integer, public, parameter :: GRC_COM_CANT_ENCODE = 3073

Cannot encode arguments in client.

integer, public, parameter :: GRC_COM_CANT_DECODE = 3074

Cannot decode results in client.

integer, public, parameter :: GRC_COM_CANT_SEND = 3075

Hardware error while sending.

integer, public, parameter :: GRC_COM_CANT_RECV = 3076

Hardware error while receiving.

integer, public, parameter :: GRC_COM_TIMEDOUT = 3077

Request timed out.

integer, public, parameter :: GRC_COM_WRONG_FORMAT = 3078

Packet format error.

integer, public, parameter :: GRC_COM_VER_MISMATCH = 3079

Version mismatch between client and server.

integer, public, parameter :: GRC_COM_CANT_DECODE_REQ = 3080

Cannot decode arguments in server.

integer, public, parameter :: GRC_COM_PROC_UNAVAIL = 3081

Unknown RPC, procedure ID invalid.

integer, public, parameter :: GRC_COM_CANT_ENCODE_REP = 3082

Cannot encode results in server.

integer, public, parameter :: GRC_COM_SYSTEM_ERR = 3083

Unspecified generic system error.

integer, public, parameter :: GRC_COM_FAILED = 3085

Unspecified error.

integer, public, parameter :: GRC_COM_NO_BINARY = 3086

Binary protocol not available.

integer, public, parameter :: GRC_COM_INTR = 3087

Call interrupted.

integer, public, parameter :: GRC_COM_REQUIRES_8DBITS = 3090

Protocol needs 8 bit encoded characters.

integer, public, parameter :: GRC_COM_TR_ID_MISMATCH = 3093

TRANSACTIONS ID mismatch error.

integer, public, parameter :: GRC_COM_NOT_GEOCOM = 3094

Protocol not recognisable.

integer, public, parameter :: GRC_COM_UNKNOWN_PORT = 3095

Invalid port address.

integer, public, parameter :: GRC_COM_ERO_END = 3099

ERO is terminating.

integer, public, parameter :: GRC_COM_OVERRUN = 3100

Internal error (data buffer overflow).

integer, public, parameter :: GRC_COM_SRVR_RX_CHECKSUM_ERRR = 3101

Invalid checksum on server side received.

integer, public, parameter :: GRC_COM_CLNT_RX_CHECKSUM_ERRR = 3102

Invalid checksum on client side received.

integer, public, parameter :: GRC_COM_PORT_NOT_AVAILABLE = 3103

Port not available.

integer, public, parameter :: GRC_COM_PORT_NOT_OPEN = 3104

Port not opened.

integer, public, parameter :: GRC_COM_NO_PARTNER = 3105

Unable to find TPS.

integer, public, parameter :: GRC_COM_ERO_NOT_STARTED = 3106

Extended Runtime Operation could not be started.

integer, public, parameter :: GRC_COM_CONS_REQ = 3107

Att to send cons reqs.

integer, public, parameter :: GRC_COM_SRVR_IS_SLEEPING = 3108

TPS has gone to sleep (wait and try again).

integer, public, parameter :: GRC_COM_SRVR_IS_OFF = 3109

TPS has shut down (wait and try again).

integer, public, parameter :: GRC_COM_NO_CHECKSUM = 3110

No checksum in ASCII protocol available.

integer, public, parameter :: GRC_AUT_TIMEOUT = 8704

Position not reached.

integer, public, parameter :: GRC_AUT_DETENT_ERROR = 8705

Positioning not possible due to mounted EDM.

integer, public, parameter :: GRC_AUT_ANGLE_ERROR = 8706

Angle measurement error.

integer, public, parameter :: GRC_AUT_MOTOR_ERROR = 8707

Motorisation error.

integer, public, parameter :: GRC_AUT_INCACC = 8708

Position not exactly reached.

integer, public, parameter :: GRC_AUT_DEV_ERROR = 8709

Deviation measurement error.

integer, public, parameter :: GRC_AUT_NO_TARGET = 8710

No target detected.

integer, public, parameter :: GRC_AUT_MULTIPLE_TARGETS = 8711

Multiple targets detected.

integer, public, parameter :: GRC_AUT_BAD_ENVIRONMENT = 8712

Bad environment conditions.

integer, public, parameter :: GRC_AUT_DETECTOR_ERROR = 8713

Error in target acquisition.

integer, public, parameter :: GRC_AUT_NOT_ENABLED = 8714

Target acquisition not enabled.

integer, public, parameter :: GRC_AUT_CALACC = 8715

ATR calibration failed.

integer, public, parameter :: GRC_AUT_ACCURACY = 8716

Target position not exactly reached.

integer, public, parameter :: GRC_AUT_DIST_STARTED = 8717

Distance measurement has been started.

integer, public, parameter :: GRC_AUT_SUPPLY_TOO_HIGH = 8718

External supply voltage is too high.

integer, public, parameter :: GRC_AUT_SUPPLY_TOO_LOW = 8719

Internal or external supply voltage is too low.

integer, public, parameter :: GRC_AUT_NO_WORKING_AREA = 8720

Working area not set.

integer, public, parameter :: GRC_AUT_ARRAY_FULL = 8721

Power search data array is filled.

integer, public, parameter :: GRC_AUT_NO_DATA = 8722

No data available.

integer, public, parameter :: GRC_KDM_NOT_AVAILABLE = 12544

KDM device is not available.

integer, public, parameter :: GRC_FTR_FILEACCESS = 13056

File access error.

integer, public, parameter :: GRC_FTR_WRONGFILEBLOCKNUMBER = 13057

Block number was not the expected one.

integer, public, parameter :: GRC_FTR_NOTENOUGHSPACE = 13058

Not enough space on device to proceed uploading.

integer, public, parameter :: GRC_FTR_INVALIDINPUT = 13059

Rename of file failed.

integer, public, parameter :: GRC_FTR_MISSINGSETUP = 13060

Invalid parameter as input.


Functions

public pure function dm_geocom_error_message(grc) result(message)

Returns message associated with given GeoCOM (error) code.

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: grc

GeoCOM return code.

Return Value character(len=:), allocatable

GeoCOM return code message.

public pure elemental function dm_geocom_is_error(grc) result(is_error)

Returns .true. if given GeoCOM code is an error.

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: grc

GeoCOM code.

Return Value logical

public pure elemental function dm_geocom_is_ok(grc) result(is_ok)

Returns .true. if given GeoCOM code is not an error.

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: grc

GeoCOM code.

Return Value logical