Delta — 4.4.12. MC_ReadAxisError

4. Motion Control Instructions 4.4.12. MC_ReadAxisError MC_ReadAxisError is applied to read the error information of the servo axis such as the alarm of an error or the state if servo axis is offline or not and so on, which are displayed on the panel of the servo drive. This instruction triggered by high level will read the axis error information when “Enable” is on. Explanation of the instruction: Explanation of input and output parameter of the instruction:

4-44 DVP-MC operating manual API Read axis error Controller 12 MC ReadAxisError _ 10MC11T Parameter Data Available Explanation name type device Axis The node address of servo drive UINT Constant, D Enable This instruction is executed when “Enable” turns on. BOOL M,I,Q, Constant Done After axis error reading is completed, "Done" turns on; when “Enable” is off, "Done" is reset. BOOL M,Q Error If any error is detected, "Error" turns on; when "Enable" turns off, "Error" is reset. BOOL M,Q ErrorID 1. When “Done” is on, “Error ID” is 1xxx(hex)which indicates the alarming of servo drive and xxx is the alarm code of servo drive. Eg. If alarm code of servo drive is AL303, “Error ID” is 1303(hex). 2.

When “Done” is on, “Error ID” is 2000(hex)which indicates servo drive is offline maybe because there is a problem on the bus connection between 10MC and servo drive or the interference in the field is two strong. 3. When “Error” is on, Error ID value indicates the error cause for execution of the instruction. (For the explanation of ErrorID values, see section 5.3.) UINT D