Code
Description
1
SCRATCH_WRT_FAIL
2
SCRTACH_ERASE_FAIL
3
DATA_BUFFER_OVERFLOW
4
ACD0_BUFFER_OVERFLOW
5
FUNCTION_INVALID
6
SWDT_TIME_INVALID
16
FLASH_WRITE_FAIL
17
FLASH_ERASE_FAIL
18
FLASH_JMP_FAIL
19
FLASH_PSP_TIMEOUT
20
FLASH_ABORT_RECEIVED
21
FLASH_PAGE_MISMATCH
22
FLASH_BLOCK_MISMATCH
23
FLASH PAGE_NOT_IN_CODE_AREA
24
MEM_ILLEGAL_ADDRESS
25
FLASH_LOCKED
26
INVALID_BLOCK
27
FLASH_ILLEGAL_PAGE
48
STREAM_IS_ACTIVE
49
STREAM_TABLE_INVALID
50
STREAM_CONFIG_INVALID
51
STREAM_BAD_TRIGGER_SOURCE
52
STREAM_NOT_RUNNING
53
STREAM_INVALID_TRIGGER
54
STREAM_CONTROL_BUFFER_OVERFLOW
55
STREAM_SCAN_OVERLAP
56
STREAM_SAMPLE_NUM_INVALID
57
STREAM_BIPOLAR_GAIN_INVALID
58
STREAM_SCAN_RATE_INVALID
64
TIMER_INVALID_MODE
65
TIMER_QUADRATURE_AB_ERROR
66
TIMER_QUAD_PULSE_SEQUENCE
67
TIMER_BAD_CLOCK_SOURCE
68
TIMER_STREAM_ACTIVE
69
TIMER_PWMSTOP_MODULE_ERROR
80
EXT_OSC_NOT_STABLE
81
INVALID_POWER_SETTING
82
PLL_NOT_LOCKED
102
INVALID_CODE
112
UART_TIMEOUT
113
UART_NOTENALBED
114
UART_NOTCONFIGURED
115
UART_RXOVERFLOW
116
I2C_BUS_BUSY
5.5 - Modbus
The UE9 supports the Modbus protocol over Ethernet and USB. Learn more about it on the Modbus support page.
5.6 - Calibration Constants
This information is only needed when using low-level functions and other ways of getting binary readings. Readings in volts already
have the calibration constants applied. The UD driver, for example, normally returns voltage readings unless binary readings are
specifically requested.
Calibration Constant
The majority of the UE9's analog interface functions return or require binary values. Converting between binary and voltages
requires the use of calibration constants and formulas.
When using ModBus the UE9 will apply calibration automatically, so voltages are sent to and read from the UE9 are formatted as
a float.
Which Constants Should I Use?
The calibration constants stored on the UE9 can be categorized as follows:
Analog Input
Analog Output
Internal Temperature
Analog Input: Since the UE9 uses multiplexers, all channels (except 129-135 and 137-143) have the same calibration for a given
input range.
Analog Output: Only two calibrations are provided, one for DAC0 and one for DAC1.
77
Summary of Contents for UE9
Page 84: ...84 ...