Redler Technologies Inc.

MotionPacketHelperDriverFaultCodes Enumeration

All the driver error values (of command 100[0])

Definition

Namespace: Redler.Motion.Communication.MotionPackets
Assembly: Redler.Motion.Communication (in Redler.Motion.Communication.dll) Version: 0.0.0.0
C#
public enum DriverFaultCodes

Remarks

See ParseDriverFault(Byte) to see how you can parse a 100[0] packet

Members

Bad_Command2 The command does not exist in the FW
Bad_Index3 While the command exists, the index does not
Mode_Not_Started7 The command cannot be accomplished due to a mode that has not been set. E.g., when asking CPU temperature while the temperature sensor is not enabled.
Cannot_Write_Flash11 Can't write to the flash at the moment
Command_Unavailable12 The command is not available
Bad_Command_Format19 When a command is sent in a wrong format.
Operand_Out_Of_Range21 On a given SET command, the new value was greater than the maximum or less than the minimum
Command_Not_Assigned23 Raised when you are trying to save parameters while the process of saving the parameters is still in process.
Command_Not_Valid25 A general error about the command sent. E.g., This is sent in CANOpen when the data type of the packet mismatched with the actual value
Motion_Mode_Invalid26 Motion mode not valid. A Begin Motion was attempted but the parameters of the motion were not properly set. E.g., when setting some position command while the break speed to 0.
Out_Of_Limit_Range28 Out of limit range. A command was specified out of its permitted limits.
Motion_Start_Past39 This error is raised when STO/safety error is turned on, and you try to set the motor on (1[0]=1).
Command_Not_Supported41 Command not supported by this product. An attempt has been made to assign an illegal value to the command.
Motor_Must_Be_Off57 The motor must be off to execute the given command. Meaning that right now the motor is on. Turn it off with command 1[0] with value 0 and then execute the current command again.
Motor_Must_Be_On58 The motor must be on to execute the given command. Meaning that right now the motor is off. Turn it on with command 1[0] with value 1 and then execute the current command again.
Bad_Unit_Mode60 DEPRACATED. The driver is in a bad mode. E.g., when setting position command while the motor running and the driver is in speed loop.
Drive_Not_Ready66 Didn't accomplish prerequisite actions to execute the command successfully. E.g., motor on while a calibration is running
Reset_Driver_Occurred200 Sent when the driver wakes up
Present_State_Error255 Represents that the current driver or the motor is not in the right state to perform the change requested

See Also