What it means
F31138 is raised when Encoder 1, a DRIVE-CLiQ encoder, reports a position determination fault: the multiturn part of the absolute position could not be determined. The S120/S150 manual titles the code Encoder 1: Fault when determining the position (multiturn)
, the G130/G150 manual Encoder 1: Internal error when determining multiturn information
; both describe the same condition on the encoder.
Why it appears
- A position determination fault has occurred in the DRIVE-CLiQ encoder.
- The manual names no individual defect: which internal encoder condition triggered the fault is bit-coded in the fault value, together with the encoder version.
What to check
- Read the fault value in r0949 and interpret it as a binary number: the upper byte (yy) identifies the encoder version, the set bits the detailed cause.
- Match the set bits against the decoding in the fault value section for that version.
- If the encoder version is not described in the manual, contact the encoder manufacturer for the bit coding.
- If required, replace the DRIVE-CLiQ encoder.
Reading the message value
The drive stores the cause as yyxxxxxx hex in r0949 (message value: fault cause, binary): yy is the encoder version, xxxxxx the bit coding of the fault cause. The bits that describe the multiturn condition itself:
- yy = 8 (0000 1000 bin): bit 17 — fault when determining the position (multiturn); the G130/G150 manual words this bit
fault in the multiturn
. - yy = 11 (0000 1011 bin): bit 7 — rotation error counter (MT_ERR). This version is decoded in the S120/S150 manual only.
- yy = 14 (0000 1110 bin): bit 1 — position word 1 position determination error (multiturn); bit 17 — position word 2 position determination error (multiturn). This version is also decoded in the S120/S150 manual only.
The same fault value also carries bits for other encoder conditions — signal monitoring, LED monitoring, temperature, the safety status display (F1/F2), FPGA and power supply monitoring, and further position word errors; the manual decodes every bit. For an encoder version that is not described there, contact the encoder manufacturer.
Parameters the manual names
- r0949 — fault value: read this code's cause here, interpreted binary, to identify the encoder version and the set cause bits before deciding whether the encoder must be replaced.
Acknowledging and restarting
Acknowledgement is bound to pulse inhibit: the drive accepts the acknowledgement only while its output pulses are inhibited, so bring the drive into pulse inhibit, acknowledge the fault and only then restart. Because the fault points at the encoder, interpret the fault value first — if it flags the encoder itself, the remedy is to replace the DRIVE-CLiQ encoder.
What differs between the drive families
Straight from the manuals' own fields — F31138 is not described identically everywhere.
| Drive family | Reaction | Acknowledge | Message class | Component | Manual |
|---|---|---|---|---|---|
| S120, S150 | Infeed: NONE Servo: ENCODER (IASC/DCBRK, NONE) Vector: ENCODER (IASC/DCBRK, NONE) Hla: ENCODER (NONE) | PULSE INHIBIT | Hardware/software error (1) | Encoder 1 | SINAMICS S120, S150 List Manual · p. 3042 |
| G130, G150 | Vector: ENCODER (IASC/DCBRK, NONE) Infeed: NONE | PULSE INHIBIT | Hardware/software error (1) | Encoder 1 | SINAMICS G130, G150 List Manual · p. 1729 |
The drives this code lives on
F31138 is described for G130, G150, S120, S150. These are the converters of those families in our catalogue — price on request.
Questions technicians ask
What does fault F31138 mean on a SINAMICS drive?
Encoder 1, a DRIVE-CLiQ encoder, reported a fault while determining the multiturn position. The upper byte of the fault value in r0949 gives the encoder version, the lower bits the exact cause.
How do I clear fault F31138?
Read r0949 as a binary number and match the set bits to the manual's decoding for your encoder version; if the encoder itself is the cause, replace it. Acknowledge the fault with pulse inhibit before restarting.
Which encoder versions does the manual decode for F31138?
yy = 8 in both the S120/S150 and the G130/G150 manuals; yy = 11 and yy = 14 are decoded in the S120/S150 manual only. For any other version, contact the encoder manufacturer.
What is bit 17 in fault F31138?
For encoder version yy = 8, bit 17 is the multiturn position determination fault itself — the condition this code reports. For yy = 14, the multiturn errors sit in bit 1 (position word 1) and bit 17 (position word 2).
Codes next to this one
Source
Written from Siemens' own List Manuals and operating instructions; every number, designation and parameter on this page is checked against them before publication.
All SINAMICS codes: fault and alarm codes · the F31xxx group · SINAMICS manuals · Siemens manuals
