Error codes
(Original Document)
Error codes
In the channel periodic status word %MWr.m.0.3, bits 0 to 5 are used to code the configuration or adjustment errors for the axis, and bits 6 to 11 code the description errors for a track or a cam. A symbol is associated with each error code.
COD_PARAM_FLT: error code for axis configuration or adjustment error
Code
Faulty parameters
0
No error
1
EVT_ENABLE is not 0,1,or 255
2
EVT_NUM is not between 0 and 63
3
INPUT_MOD is not 0 (inc) or 1 (abs)
4
Reserved field is not at 0
5
FORMAT_MEAS is not 0,1 or 2
6
PRESET_MOD is not 0,1,2, or 3
7
CAPTS_MOD is not 0,1,2, or 4
8
Conf: Reserved field is not at 0
9
Conf: Reserved field is not at 0
10
Conf: Reserved field is not at 0
11
WITH_ERR is not zero - in incremental encoder
12
ABS_ENC_ERROR_RANGE is not zero - in incremental encoder
13
ABS_ENC_READ_PERIOD is not zero - in incremental encoder
14
CAPTS_MOD is not zero - in absolute encoder
15
ABS_ENC_READ_RANGE is greater than or the same as the number of status bits
16
ABS_ENC_READ_RANGE is at 0
17
ABS_ENC_READ_PERIOD is not 0,1 or 2 - in absolute encoder
18
ABS_ENC_READ_PERIOD - 50 micro – incompatible with frame length
19
ABS_ENC_READ_PERIOD incompatible with frame length
20
ABS_ENC_READ_EXTRA_NB - no. of heading bits too big (0.4 allowed)
21
ABS_ENC_READ_EXTRA_NB - no. of status bits too large (0.3 allowed)
22
ABS_ENC_EXTRA_NB is at 0 – incompatible with WITH_ERR
23
ABS_ENC_DATA_NB - number of data bits is more than 25
24
ABS_ENC_DATA_NB + ABS_ENC_READ_EXTRA_NB + WITH_PAR is more than 32
25
PRESET_ANG_VALUE is more than RESOL_ANG
26
PRESET_TURN_VALUE is more than RESOL_TURN
27
SLACK_VALUE less than -1023
28
SLACK_VALUE more than 1023
29
SLACK_VALUE more than (RESOL_ANGL * RESOL_TURN)
30
SLACK_VALUE more than RESOL_ANG/2
31
ABS_REDUC is at 0
32
ABS_REDUC is not 1,2,4,8,16 or 32
33
(ABS_REDUC*RESOL_ANGL*RESOL_TURN) more than ABS_ENC_DATA_NB
34
ABS_OFFSET_ANG more than RESOL_ANGL
35
ABS_OFFSET_TURN more than RESOL_TURN
36
RESOL_ANGL is not a power of 2 - in absolute encoder
37
Param: Reserved field is not at 0
38
PRESET_ANG_VALUE(adjusted) is more than RES_ANG
39
PRESET_TURN_VALUE(adjusted) is more than RES_TURN
40
SLACK_VALUE (adjusted) less than -1023
41
SLACK_VALUE (adjusted) more than 1023
42
SLACK_VALUE (adjusted) more than (RESOL_ANGL * RESOL_TURN)
43
SLACK_VALUE (adjusted) more than RESOL_ANG/2
44
ABS_ENC_DATA_NB less than 8
45
RESOL_ANGL less than 256
46
INPUT_MOD (encoder) incompatible with FORMAT_MEAS
47
MAX_PIECES is less than 1
48
MAX_PIECES is more than 32767
49
MAX_PIECES (adjusted ) is less than 1
50
MAX_PIECES (adjusted ) is more than 32767
List of track or cam error codes
COD_DESC_FLT: error code for track or cam description fault
Code
Faulty parameters
0
No error
1
TYP_PROFIL unknown cam code
2
TYP_PROFIL unknown cam code
4
Cam: Reserved field is not at 0
5
Cam: Reserved field is not at 0
6
TRACK_NUM is more than 7
7
COND_ENABLE is not at 0,1,2
8
BIT_NUM_ENABLE impossible
9
Cam: Reserved field is not at 0
10
X1 is more than RESOL_ANG
11
X2 is more than RESOL_ANG
12
TIME_SWICH_OFF is not at 0
13
X2 is not at 0
14
TIME_SWICH_OFF is more than 16383
15
Cam: Reserved field is not at 0
16
Cam: Reserved field is not at 0
32
Track: Reserved field is not at 0
33
Track: Reserved field is not at 0
34
ADD_TRACK on track 4 to 7
35
ANTICIP_FACTOR more than 32767
36
ANTICIP_FACTOR is not at 0 – logical track
48
USED_CAM (adjustment) the cam has not been declared
49
X1(adjusted) is more than RESOL_ANG
50
X2 (adjusted) is more than RESOL_ANG
51
TIME_SWITCH_OFF(adjustment) is not at 0
52
X2 (adjustment) is not at 0
53
TIME_SWICH_OFF (adjusted) is more than 16383
58
USED_TRACK (adjustment) the track has not been declared
59
ANTICIP_FACTOR (adjusted) more than 32767
60
ANTICIP_FACTOR (adjustment) is not at 0 – logical track