Error Codes

From OpenMotics
Revision as of 10:56, 23 April 2017 by Wilbert (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Whenever an error occurs when the user is in CLI mode, the Gateway Module will return one of the error codes below

A user can enter CLI mode by using the maintenance mode function in the OpenMotics Cloud or by connecting a serial TTL cable to the Gateway. CLI instructions can be found in CLI Reference Guide.

Versioning

This document describes the Error Codes available on the Gateway Module CLI interface.

Gateway Module FW version
3.140.x

Codes

Error Codes Description
1
Requested output was not found
2
Error reading time. The Real Time Clock is not reachable or not responding
3
The Real Time Clock hasn't started; light status is not kept in memory. System will start the RTC
4
Error while writing to EEPROM
5
Error while reading from EEPROM
6
Timeout on serial communication while receiving input from the serial bus controller
7
RS485 error: Input Device is not responding. ID of the device can be found in ID0..ID3
8
RS485 error: Output Device is not responding. ID of the device can be found in ID0..ID3
9
RS485 error: Output Device is responding but not with “OK” message or wrong module is answering
10
RS485 error: Network errors, check termination resistors. ID of the device can be found in ID0..ID3
11
# of inputs found in the EEPROM of the Master (EEPROM page 0 line 1) are higher than 30 and is not valid. ID0..ID3 = null. Number of input modules is zero now
12
# of outputs found in the EEPROM of the Master (EEPROM page 0 line 1) are higher than 30 and is not valid. ID0..ID3 = null. Number of output modules is zero now
13
Queue Overflow: Too many intelligent actions are executed at the same time, most likely due to a loop. A loop can be caused by using group actions that call themselves
14
Unexpected character received (i.e.: a letter where a value was expected)
15
Output to switch off is not in a valid range (<239)
16
Output to switch on is not in a valid range (<239)
17
Wrong or unrecognized instruction
18
Wrong value used in reading the EEPROM
19
A value with more than 5 digits is not accepted
20
Wrong value used in reading the EEPROM
21
Wrong value used in reading output timer values
22
Wrong value used in writing output timer values
23
Values out of range or wrong number of arguments
24
Overflow scheduled action queue
25
Auto Initialization byte (Page0/Byte14): System is in auto initialization mode, instruction add in CLI mode can’t be used
26
Duplicate ID found on the network during initialization mode, bus will be reinitialized to solve the problem. User must press the initialization/discovery button on the Module again to initialize the appropriate Module
27
Wrong CRC received from remote module or CRC information is missing
28
RS485 error: Output Device configured as Roller/Shutter in Large Installation mode is responding but not with “OK” message or wrong module is answering