Communications Manual Rev 3.10 Software Versions 3.xx
003R-618-310
Page 37
12. Appendix – Program Constants
12.1. Register Types
Type Code Description
TYPE_CHAR 00
H
8-bit signed value (typically used for ASCII characters)
TYPE_UCHAR 01
H
8-bit unsigned value
TYPE_SHORT 02
H
Signed 16-bit value
TYPE_USHORT 03
H
Unsigned 16-bit value
TYPE_LONG 04
H
Signed 32-bit value
TYPE_ULONG 05
H
Unsigned 32-bit value
TYPE_STRING 06
H
NULL terminated string of CHAR
TYPE_OPTION 07
H
Selectable option.
TYPE_MENU 08
H
Menu type
TYPE_WEIGHT 09
H
Contains weight and status information
TYPE_BLOB 0A
H
Untyped block of memory
TYPE_EXECUTE 0B
H
Executable commands
TYPE_BITFIELD 0C
H
Options combined into a compressed field
12.2. Commands
Command Code Description
CMD_NONE 00
H
CMD_READ_TYPE 01
H
Read the type of a register
CMD_READ_RANGE_MIN 02
H
Read the minimum value allowed for this register
CMD_READ_RANGE_MAX 03
H
Read the maximum value allowed for this register
CMD_READ_RAW 04
H
Read internal raw value (typically for factory use only)
CMD_READ_LITERAL 05
H
Read literal value.
CMD_WRITE_RAW 06
H
Write internal raw value (typically for factory use only)
CMD_READ_DEFAULT 07
H
Read default value
CMD_READ_MENU_TEXT 09
H
Read Menu Text as used in the instrument menus
CMD_READ_ITEM 0D
H
Read Item from Option list
CMD_READ_PERMISSION 0F
H
Read register permission settings
CMD_EXECUTE 10
H
Execute a command on a TYPE_EXECUTE register
CMD_READ_FINAL 11
H
Read final register value
CMD_WRITE_FINAL 12
H
Write final register value