Control services, Long controlclearfault(void), Long encoderdisablefault(long channel) – Rockwell Automation 2098-IPD-xxx Ultra5000 C Programming using the Motion Library User Manual

Page 52: Long encoderenablefault(long channel), Control services -12

Advertising
background image

Publication 2098-PM001E-EN-P — July 2002

2-12

Referencing the Motion Library

Control Services

long ControlClearFault(void);

Clears a controller fault.

Returns 0 if successful, or -1 on an error.

long EncoderDisableFault(long channel);

Disables fault checking for an encoder.

The channel selects the encoder channel. Valid channels are as
follows:

• 1 = Motor Encoder
• 2 = Aux Encoder

Returns 0 if successful, or -1 on an error.

long EncoderEnableFault(long channel);

Enables fault checking for an encoder.

The channel selects the encoder channel. Valid channels are as
follows:

• 1 = Motor Encoder
• 2 = Aux Encoder

Returns 0 if successful, or -1 on an error.

Advertising