Independent CNC repair and technical reference Contact

FANUC 31i-B straightness compensation: J747, R334 and PW5046 vs PS5046

Published Updated

If 5046 appears after a parameter restore, capture the PW or PS prefix first. It directs you to the relevant manual section, not a particular missing license.

Contents
  1. Identify the ordered compensation type
  2. For PW5046, check the conventional setting
  3. For PS5046, check the interpolated setting
  4. After a cross-machine restore, check the target machine’s own records

If 5046 appears after a parameter restore, capture the PW or PS prefix first. It directs you to the relevant manual section, not a particular missing license.

Identify the ordered compensation type

Printed pp. 452–453 of the 2024 FANUC catalogue list A02B-0327-J747 for conventional straightness compensation and A02B-0327-R334 for interpolation type straightness compensation STEP 2 on the non-Plus 31i-B. The conventional method uses four reference points selected from the pitch-error compensation grid. The interpolation type distributes compensation pulses between points for smoother correction. R333 pitch-error interpolation is a separate function. Catalogue listings do not establish installation on a particular machine, Plus compatibility or a minimum CNC software revision. FANUC Function Catalogue, pp. 452–453.

For PW5046, check the conventional setting

B-64483EN-1/05 §1.3.4, p. 55, lists PW5046 (ILLEGAL PARAMETER (S-COMP.)) for an incorrect straightness compensation parameter setting. It also specifies stored pitch error compensation as a prerequisite for conventional straightness compensation. In existing machine records, check reference-point order and whether the points fall within the machine’s pitch compensation span. A prerequisite is not an alarm cause in itself: this entry does not identify a missing entitlement. FANUC connection manual, p. 55.

For PS5046, check the interpolated setting

Section 1.3.6, pp. 61–62, uses PS5046 (ILLEGAL PARAMETER (S-COMP)). Listed causes include a nonexistent moving or compensation axis, an invalid point order or span, or an out-of-range correction per point. PW1103 (ILLEGAL PARAMETER (S-COMP.128)) is a separate alarm for the 128-point setting or compensation data, not a missing-license signal. Conventional and interpolated straightness compensation cannot be used together for the same moving axis, even though different moving axes may use different types. No alarm specifically identifying the absence of J747 or R334 was verified. PS5046 here refers to the 128-point interpolated configuration documented in §1.3.6; do not assume it applies to every R334 configuration.FANUC connection manual, pp. 61–62.

After a cross-machine restore, check the target machine’s own records

Keep the full alarm label, CNC model and software series/revision, the target machine’s known-good backup, and the builder’s axis and compensation records. Compare software versions, axis definitions and the origin of the imported data offline. Do not assume the donor machine’s geometric corrections belong to the target just because the models match. Ask FANUC or the builder to verify the applicable options, software and authorized service procedure by serial number. Do not write parameters, change entitlement or run a motion test for diagnosis. Related reading: why parameter input programs do not transfer unchanged (Chinese).