Difference between revisions of "Error List AIO"

From OpenMotics
Jump to navigation Jump to search
Line 82: Line 82:
 
!<div align="center">z</div>
 
!<div align="center">z</div>
 
|This error is triggered when state machine "CLI_PRINT," has got blocked, parameters are for the development team only.
 
|This error is triggered when state machine "CLI_PRINT," has got blocked, parameters are for the development team only.
 +
|-
 +
!<div align="center">254</div>
 +
!<div align="center">0</div>
 +
!<div align="center">y</div>
 +
!<div align="center">z</div>
 +
|CRC ERROR: A received API instruction (RS232) has generated a CRC error and has not been interpreted, y.msb and y.lsb represents the instruction used.
 
|-
 
|-
 
!<div align="center">254</div>
 
!<div align="center">254</div>

Revision as of 07:03, 27 July 2019

This page provides an overview of the error codes used in the All In One design.

Versioning

This document describes the Action Type Bytes available for the All In One design

Gateway Module FW version
NOT IN PRODUCTION V0.4

Error codes AIO

Error Code Parameter 1 Parameter 2 Parameter 3 Description
0
x
-
-
Output Error: Output module nr x (0-79) is not responding
1
x
-
-
Input Error: Input module nr x (0-79) is not responding
2
x
y
z
This error is triggered when the "default" of the switch statement is executed, parameters are for the development team only.
3
x
y
z
I2C error happened. x indicates in which state machine phase the error happened, y is the I2C port (1 or 2), z is the number of I2C errors
4
x
y
z
UART Receiving error happened. x indicates in which state machine phase the error happened, y is the UART port (1-4).
5
x
y
z
This error is triggered when state machine "UPDATE_TIME_DATE" has got blocked, parameters are for the development team only.
6
x
y
z
This error is triggered when state machine "IMMEDIATE_QUEUE" has got blocked, parameters are for the development team only.
7
x
y
z
This error is triggered when state machine "TIMER" has got blocked, parameters are for the development team only.
8
x
y
z
This error is triggered when state machine "EEPROM_ACTIVATE_STATE," has got blocked, parameters are for the development team only.
9
x
y
z
This error is triggered when state machine "PERFORM_EEPROM_ACTIVATE," has got blocked, parameters are for the development team only.
10
x
y
z
This error is triggered when state machine "CLI_PRINT," has got blocked, parameters are for the development team only.
254
0
y
z
CRC ERROR: A received API instruction (RS232) has generated a CRC error and has not been interpreted, y.msb and y.lsb represents the instruction used.
254
10
y
z
PARAMETER ERROR: API Parameters send not in range to be an acceptable value, y.msb and y.lsb represents the instruction used.

Note:

  • When "-" is found in the above tables, those return values can be ignored
  • Error_code is a byte value, Parameter 1 is a byte value, Parameter 2 is a word value, Parameter 3 is a word value