Refer to Diagnostic class (standard): 3
An error is detected while exchanging data with the SinCos master encoder via the serial interface of the encoder.
CAUTION | |
---|---|
Cause |
Solution |
---|---|
Wiring error: The encoder cable is not plugged in correctly or is inoperable. |
|
Data is exchanged using the serial interface of the encoder during the functions FC_PhyEncGetPosition(), FC_PhyEncResetEncoder() and FC_PhyEncSetPosition().
The actual data exchange is performed by the system task (
The |
|
The FC_PhyEncGetPosition() function is triggered from a task with a priority of 4. The task normally requires 2.5 ms for processing. Increase the priority of the system task from 225 (or priority 5) to 224 (or priority 4) for example. FC_SetTaskPriority(lTaskType:=TASK_TYP_PHY_ENC_JOB_Server
, lPriority:=224);
Cause |
Solution |
---|---|
Detected hardware error: The SinCos encoder is inoperable. |
|
Detected hardware error: The PacDrive LMC is inoperable. |
Replace the controller. |