Communications Manual Rev 3.10 Software Versions 3.xx
Page 38
003R-618-310
12.3. Error Codes
The error code returned when a command is not processed correctly is a
hexadecimal value that is a combination of the following constants.
Error Code Description
REG_ERR_NONE 0000
H
REG_ERR_ERROR 8000
H
Always set to show an error
REG_ERR_UNKNOWN 4000
H
Unknown error – internal use only
REG_ERR_NOT_IMPLEMENTED 2000
H
Feature not implemented on this device
REG_ERR_ACCESS_DENIED 1000
H
Action not permitted for the current access rights
REG_ERR_UNDER_RANGE 0800
H
Value less than RangeMin
REG_ERR_OVER_RANGE 0400
H
Value greater than RangeMax
REG_ERR_ILLEGAL_VALUE 0200
H
Value not compatible with data type
REG_ERR_ILLEGAL_OPERATION 0100
H
Operation not defined
REG_ERR_CANNOT_SAVE 0080
H
Write Operation failed
REG_ERR_BAD_PARAMETER 0040
H
Parameter not valid
REG_ERR_MENU_IN_USE 0020
H
Cannot modify register values while SETUP
menus are active
REG_ERR_RESERVED_4 0010
H
REG_ERR_RESERVED_3 0008
H
REG_ERR_RESERVED_2 0004
H
REG_ERR_RESERVED_1 0002
H
REG_ERR_DATA_ERROR 0001
H
Internal data error
12.4. Register Identifiers
Register Code Type Example Description
REG_REGISTER_VERSION 0001
H
STRING V1.0 Version of the
protocol
REG_COPYRIGHT 0002
H
STRING (C) Rinstrum 2003 Copyright message
REG_UNIT_MODEL 0003
H
STRING R320 Model of the
instrument
REG_SOFTWARE_VERSION 0004
H
STRING V1.2 Software version
REG_UNIT_SERIAL_NO 0005
H
ULONG 3106432 Instrument Serial
Number
REG_KEYBOARD 0008
H
USHORT KEY_TARE Write to simulate
key presses
REG_DISPLAY_RAW 0009
H
BLOB 0100005B6D3F… Contents of LCD
display memory
REG_SAVE_SETTINGS 0010
H
EXECUTE
Save Settings
command
REG_MENU_MAIN 0011
H
MENU Start of menu
definitions
REG_CAL_COUNT_OIML 0012
H
USHORT 00000033 OIML Calibration
counter
REG_CAL_COUNT_NTEP 0013
H
USHORT 0000000D OIML Calibration
counter
REG_CFG_COUNT_NTEP 0014
H
USHORT 00000014 OIML Configuration
counter
REG_ENTER_PASS_FULL 0019
H
ULONG 000004D2
REG_ENTER_PASS_SAFE 001A
H
ULONG 000009A4
Write to attempt
Passcode
Read is only allowed
if correct
Write 0 to lock
instrument again
REG_ADC_SAMPLE_NUMBER 0020
H
ULONG 00169196 Counts each new
reading