Table 4-3
System variables of the diagnostic parameter register
System variable
MASTER_DIAG_PARAM_REG_HI
MASTER_DIAG_PARAM_REG_LOW
MASTER_DIAG_PARAM_2_REG_HI
MASTER_DIAG_PARAM_2_REG_LOW
8385_en_02
4.4
Diagnostic parameter register
The diagnostic parameter register provides additional information on the error indicated in
the diagnostic status register. The following information is stored in the diagnostic parame-
ter register:
–
Error location
–
Error code
15
3
Segment number
Example: device number 3.1
Figure 4-1
Error location in the diagnostic parameter register
Special case: if an interface error cannot be located, the value 128 is indicated in the di-
agnostic parameter register, i.e., bit 7 is set.
The diagnostic parameter register is rewritten whenever an error occurs. The diagnostic pa-
rameter register contains the value "0" if no errors are detected.
Type
BYTE
BYTE
BYTE
BYTE
System variables and status information
8
7
Position in the segment
Meaning
Diagnostic parameter register, high byte
Diagnostic parameter register, low byte
Extended diagnostic parameter register, high byte
Extended diagnostic parameter register, low byte
0
1
6219B040
PHOENIX CONTACT
81