Chapter 6. Service Request Function
GFK-2950C
February 2018
319
6.22
SVC_REQ 21: User-Defined Fault Logging
Use SVC_REQ 21 to define a fault that can be displayed in the Controller Fault Table. The fault
contains binary information or an ASCII message. The user-defined fault codes start at 0 hex.
The error code information for the fault must be within the range 0 to 2047 for an
Application Msg
: to
be displayed. If the error code is in the range 81 to 112 decimal, the CPU sets a fault bit of the same
number in %SA system memory. This allows up to 32 bits to be individually set.
Error Code
Status Bit
Errors 0
—
80
No bit set
Errors 81
—
112
Sets %SA
Errors 113
—
2047
No bit set
Errors 2048
—
32,767 Reserved
When EN is active, the fault data array referenced by IN is logged as a fault to the Controller Fault
Table. If EN is not enabled, the ok bit is cleared. If the error code is out of range, the ok bit is cleared
and the fault will not be logged as requested.
The parameter block is an input parameter block only with this format:
Parameter address
Error code
MSB
LSB
1
Text2
Text1
2
Text4
Text3
3
Text6
Text5
4
Text8
Text7
5
Text10
Text9
6
Text12
Text11
7
Text14
Text13
8
Text16
Text15
9
Text18
Text17
10
Text20
Text19
11
Text22
Text21
12
Text24
Text23
The input parameter data allows you to select an error code in the range 0 to 2047 and text
information that will be placed in the fault extra data portion of a long controller fault. The controller
fault address, fault group, and fault action are filled in by the function block.
Summary of Contents for PACSystems RX7i
Page 357: ......
Page 466: ...Chapter 9 Diagnostics GFK 2950C February 2018 451...