Page 1 of 1

**Resolved** Disable Encoder Faults

Posted: Wed Nov 21, 2012 11:18 am
by AnthonyOhio
ALL-IN-1_DC
CNC11 Lathe
allin1dc-lathe-basic PLC

Good morning,

I am receiving an Encoder Differential Error on Axis 6. This is my spindle encoder.

Could you please let me know what the code is to temporarily suppress this error using Parameter 332 and/or 334

Thank you,

Anthony

Re: Disable Encoder Faults

Posted: Thu Nov 22, 2012 7:47 pm
by cncsnw
Parameters 332 - 335 are bitmaps. Each encoder input has a bit position within the parameter value. You set the parameter to the sum of the bits for the encoder inputs on which you want to suppress errors.

The first six encoder inputs are the axis inputs on the MPU11 board or DC All-in-one unit, as follows:

Encoder 1 = Bit 0 = Value 1
Encoder 2 = Bit 1 = Value 2
Encoder 3 = Bit 2 = Value 4
Encoder 4 = Bit 3 = Value 8
Encoder 5 = Bit 4 = Value 16
Encoder 6 = Bit 5 = Value 32

So to suppress differential faults on encoder input 6 (only), you would set Parameter 332 to a value of 32.

To suppress differential faults on encoder inputs 1, 2 and 3, you would set Parameter 332 to a value of 7 (1+2+4).

Note that Parameters 332 and 334 suppress the fault conditions: that is, they prevent encoder errors from interrupting control operation. Parameters 333 and 335 suppress the related messages. It is a good idea to keep the messages even if you are suppressing the fault condition, so you don't forget to fix the underlying problem later.